New Content in Tree view needed to use showView() instead of gotoAsset().
This commit is contained in:
parent
fd2d82835a
commit
0bfb836ec9
1 changed files with 2 additions and 1 deletions
|
|
@ -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 ) );
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue