The minimal refresh functionality, which will not unload the whole
tree, when 'refresh' on any node was selected.pull/3/head
parent
b056ba7bb7
commit
79d6d50dcc
|
|
@ -545,12 +545,13 @@ function($, _, S, pgAdmin, Menu, Backbone, Alertify, pgBrowser, Backform) {
|
|||
|
||||
return true;
|
||||
},
|
||||
refresh: function(i) {
|
||||
refresh: function(n, i) {
|
||||
var self = this,
|
||||
t = pgBrowser.tree,
|
||||
d = t.itemData(i);
|
||||
|
||||
t.unload(i);
|
||||
if (t.isInode(i) && t.wasLoad(i))
|
||||
t.unload(i);
|
||||
t.setInode(i, (d && d.inode) || false);
|
||||
t.deselect(i);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue