diff --git a/www/extras/admin/admin.js b/www/extras/admin/admin.js index bc0588e80..1958785db 100644 --- a/www/extras/admin/admin.js +++ b/www/extras/admin/admin.js @@ -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 ) ); }; /**