New Content pane is working

This commit is contained in:
Doug Bell 2010-08-04 17:55:13 -05:00
parent 90d974d911
commit 1b0ec95abb
5 changed files with 170 additions and 15 deletions

View file

@ -640,6 +640,15 @@ WebGUI.Admin.prototype.hideInfoMessage
infoContainer.style.display = "none";
};
/**
* addNewContent( urlFragment )
* Add new content by visiting the given URL fragment
*/
WebGUI.Admin.prototype.addNewContent
= function ( urlFragment ) {
this.gotoAsset( appendToUrl( this.currentAssetDef.url, urlFragment ) );
};
/****************************************************************************
* WebGUI.Admin.LocationBar
*/