filters in global list

This commit is contained in:
lutranf
2014-08-20 17:42:52 +02:00
parent 8e0d25842d
commit 5a4465403b
5 changed files with 52 additions and 18 deletions

2
jquery/common.js vendored
View File

@@ -36,7 +36,7 @@ $.prototype.addButton = function(sType, sTitle, oClickLink, sId, sButtonClass, s
.appendTo($This);
//Function
if(!bLink) $Button.click(function(e){e.preventDefault();oClickLink();});
if(!bLink) $Button.click(function(e){e.preventDefault(); oClickLink($(this));});
//TODO delete use of tmp out of databap class context
if(typeof sTmpVar != 'undefined') databap.tmp(sTmpVar, $Button);