Created
September 4, 2012 18:09
-
-
Save nul800sebastiaan/3624335 to your computer and use it in GitHub Desktop.
Hack to click the node that was just synced
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UmbClientMgr.mainTree().syncTree(nodePath, true); | |
var id = nodePath.split(',').reverse()[0]; | |
setTimeout(function() { | |
jQuery('li#' + id, top.document).trigger('click'); | |
},500); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment