New Content pane is working
This commit is contained in:
parent
90d974d911
commit
1b0ec95abb
5 changed files with 170 additions and 15 deletions
|
|
@ -146,3 +146,15 @@ a:link {
|
|||
display: block;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
#newContentBar a {
|
||||
display: block;
|
||||
height: 24px;
|
||||
font-size: 12px;
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
#newContentBar a:link, #newContentBar a:visited, #newContentBar a:active {
|
||||
text-decoration: none;
|
||||
color: black;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue