Safari doesn't like keywords being used as props
This commit is contained in:
parent
c8adf70760
commit
ccb1f4dc62
1 changed files with 1 additions and 1 deletions
|
|
@ -366,7 +366,7 @@ WebGUI.Admin.prototype.addHelperHandler
|
|||
if ( helper.url ) {
|
||||
YAHOO.util.Event.on( elem, "click", function(){ self.gotoAsset( helper.url ) }, self, true );
|
||||
}
|
||||
else if ( helper.class ) {
|
||||
else if ( helper['class'] ) {
|
||||
YAHOO.util.Event.on( elem, "click", function(){ self.requestHelper( helper.class, self.currentAssetDef.assetId ) }, self, true );
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue