Permalink
Browse files

fixed name conflict

  • Loading branch information...
tomek
tomek committed Jul 19, 2012
1 parent 9ead90b commit f5698307b0dc7783047e4d522aeeb92821390e37
@@ -12,7 +12,7 @@ Authors:
#asset(qx/icon/${qx.icontheme}/16/devices/computer.png)
*/
-qx.Class.define("helenos.components.ClusterPane",
+qx.Class.define("helenos.components.SchemaPane",
{
extend : qx.ui.container.Composite,
@@ -44,16 +44,11 @@ qx.Class.define("helenos.components.menu.KeyspaceContextMenu",
__dropKeyspace : function(e) {
var ksName = e.getTarget().getUserData('KSNAME');
dialog.Dialog.confirm('<b>Are you sure ?! You will lose all your data !!!</b>', function(ret) {
- if (ret == true) {
- helenos.util.RpcActionsProvider.dropKeyspace(ksName);
-
+ if (ret == true) {
+ helenos.util.RpcActionsProvider.dropKeyspace(ksName);
+ helenos.util.GuiObserver.refreshSchemaTree();
}
}, this);
-
-
-
-
- //TODO odswiez tree pane
}
}
});

0 comments on commit f569830

Please sign in to comment.