fix undefined variable addButton
This commit is contained in:
3
jquery/common.js
vendored
3
jquery/common.js
vendored
@@ -38,7 +38,8 @@ $.fn.setCursorPosition = function(pos)
|
||||
$.prototype.addButton = function(sType, sTitle, oClickLink, sId, sButtonClass, sTmpVar)
|
||||
{
|
||||
$This = $(this);
|
||||
var asAttributes = {id:(sId || ''), 'class':'button round'+(typeof sButtonClass != 'undefined'?' '+sButtonClass:'')};
|
||||
sButtonClass = sButtonClass || '';
|
||||
var asAttributes = {id:(sId || ''), 'class':'button round'+sButtonClass};
|
||||
|
||||
//Link
|
||||
var bLink = (typeof oClickLink == 'string');
|
||||
|
||||
Reference in New Issue
Block a user