Skip to content

Commit

Permalink
A js method renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
fbacchella committed Apr 4, 2015
1 parent d6b67c2 commit ebf1705
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/jrds/HostsList.java
Expand Up @@ -223,7 +223,7 @@ public void configure(PropertiesManager pm) {
allTabs.add(new Tab("Administration", PropertiesManager.ADMINTAB) {
@Override
public String getJSCallback() {
return "setAdminTab";
return "adminTabCallback";
}
});

Expand Down
4 changes: 2 additions & 2 deletions web/lib/jrds.js
Expand Up @@ -518,15 +518,15 @@ return declare("jrds.Tabs", layout, {
}
this[newPage.callback](newPage);
},
setAdminTab: function () {
adminTabCallback: function () {
dijit.byId('refreshButton').refreshStatus();
//Empty and hide an eventually filled discover response
dojo.place("<pre id='discoverResponse' />", dojo.byId('discoverResponse'), "replace");
dojo.style( dojo.byId('discoverResponse'), 'display', 'none');
},
treeTabCallBack: function(newTab) {
newTab.attr('content', dojo.clone(mainPane));

var treePane = dojo.byId('treePane');
var keepParams = newTab.keepParams;

//keepParams used during page setup, to keep queryParams fields
Expand Down

0 comments on commit ebf1705

Please sign in to comment.