use getWebguiProperty to find the extrasURL.
This commit is contained in:
parent
d533b7de8b
commit
44bc4abcdb
2 changed files with 4 additions and 18 deletions
|
|
@ -11,8 +11,6 @@ if ( typeof WebGUI.AssetManager == "undefined" ) {
|
|||
WebGUI.AssetManager = {};
|
||||
}
|
||||
|
||||
// The extras folder
|
||||
WebGUI.AssetManager.extrasUrl = '/extras/';
|
||||
// Keep track of the open more menus
|
||||
WebGUI.AssetManager.MoreMenusDisplayed = {};
|
||||
// Append something to a url:
|
||||
|
|
@ -150,7 +148,7 @@ WebGUI.AssetManager.formatClassName = function ( elCell, oRecord, oColumn, order
|
|||
Format the asset class name
|
||||
*/
|
||||
WebGUI.AssetManager.formatLockedBy = function ( elCell, oRecord, oColumn, orderNumber ) {
|
||||
var extras = WebGUI.AssetManager.extrasUrl;
|
||||
var extras = getWebguiProperty('extrasURL');
|
||||
elCell.innerHTML
|
||||
= oRecord.getData( 'lockedBy' )
|
||||
? '<a href="' + WebGUI.AssetManager.appendToUrl(oRecord.getData( 'url' ), 'func=manageRevisions') + '">'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue