New Content in Tree view needed to use showView() instead of gotoAsset().

This commit is contained in:
Scott Walters 2013-09-27 12:32:04 -05:00
parent fd2d82835a
commit 0bfb836ec9

View file

@ -943,10 +943,11 @@ WebGUI.Admin.prototype.openForkDialog
/**
* addNewContent( urlFragment )
* Add new content by visiting the given URL fragment
* This is called from the HTML/JS generated by WebGUI for whatever?op=admin.
*/
WebGUI.Admin.prototype.addNewContent
= function ( urlFragment ) {
this.gotoAsset( appendToUrl( this.currentAssetDef.url, urlFragment ) );
this.showView( appendToUrl( this.currentAssetDef.url, urlFragment ) );
};
/**