VIVO-922: updates for new faux listing functionality. New controller, template and js file, updated web.xml and site admin page, and updates to the all.properties
This commit is contained in:
parent
4da345d843
commit
b8cb95d252
8 changed files with 400 additions and 2 deletions
19
webapp/web/js/siteAdmin/fauxPropertiesListingUtils.js
Normal file
19
webapp/web/js/siteAdmin/fauxPropertiesListingUtils.js
Normal file
|
@ -0,0 +1,19 @@
|
|||
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
|
||||
|
||||
var fauxPropertiesListingUtils = {
|
||||
onLoad: function() {
|
||||
this.initObjects();
|
||||
this.bindEventListeners();
|
||||
},
|
||||
|
||||
initObjects: function() {
|
||||
this.select = $('select#displayOption');
|
||||
this.theForm = $('form#fauxListing');
|
||||
},
|
||||
|
||||
bindEventListeners: function() {
|
||||
this.select.change(function() {
|
||||
fauxPropertiesListingUtils.theForm.submit();
|
||||
});
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue