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)
|
$.prototype.addButton = function(sType, sTitle, oClickLink, sId, sButtonClass, sTmpVar)
|
||||||
{
|
{
|
||||||
$This = $(this);
|
$This = $(this);
|
||||||
var asAttributes = {id:(sId || ''), 'class':'button round'+(typeof sButtonClass != 'undefined'?' '+sButtonClass:'')};
|
sButtonClass = sButtonClass || '';
|
||||||
|
var asAttributes = {id:(sId || ''), 'class':'button round'+sButtonClass};
|
||||||
|
|
||||||
//Link
|
//Link
|
||||||
var bLink = (typeof oClickLink == 'string');
|
var bLink = (typeof oClickLink == 'string');
|
||||||
|
|||||||
Reference in New Issue
Block a user