1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-08 04:58:40 +03:00

r21367: Clear out the table with a deleted object contents after the record is deleted.

Could be confusing otherwise.
(This used to be commit 115a8658c647df1fdc8a38e555412e559065b890)
This commit is contained in:
Simo Sorce 2007-02-15 14:49:35 +00:00 committed by Gerald (Jerry) Carter
parent bc9939430e
commit 48a75e18c9

View File

@ -517,15 +517,18 @@ qx.Proto._displayDeleteResults = function(module, rpcRequest, type)
var result = rpcRequest.getUserData("result");
var tree = module.fsm.getObject("tree");
var node = tree.getDataModel().getData()[tree.getSelectedNodes()[0].parentNodeId];
var dataModel = tree.getDataModel();
var node = dataModel.getData()[tree.getSelectedNodes()[0].parentNodeId];
tree.getDataModel().prune(node.nodeId, false);
dataModel.prune(node.nodeId, false);
node.bOpened = false;
tree.toggleOpened(node);
alert("Object Successfully deleted!");
this._ldbmod.setBase("");
// just clear the attribute/value table.
dataModel.setData([ ]);
};
qx.Proto._displaySearchResults = function(module, rpcRequest)