Issue 2041: Instance creation syntax simplified.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.1@10942 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
nagoon97 2012-07-25 02:16:12 +00:00
parent d6827afd24
commit 282f285b8d
2 changed files with 9 additions and 4 deletions

View file

@ -579,7 +579,7 @@ $('.modulefinder').xeModuleFinder();
// Module Search : A New Version Of Module Finder
jQuery(function($){
$.fn.xeModuleSearch = function(){
_xeModuleSearch = function(){
var t = this;
var $t = $(this);
@ -763,7 +763,12 @@ $.fn.xeModuleSearch = function(){
return this;
};
$('.moduleSearch').each($.fn.xeModuleSearch);
$.fn.xeModuleSearch = function(){
$(this).each(_xeModuleSearch);
};
$('.moduleSearch').xeModuleSearch();
});
// Sortable table