//fixed bug when install module from specific tab
This commit is contained in:
+23
@@ -810,8 +810,31 @@ $(document).ready(function()
|
||||
$(this).slideUp('fast');
|
||||
clearTimeout(ajax_running_timeout);
|
||||
});
|
||||
|
||||
bindTabModuleListAction();
|
||||
|
||||
});
|
||||
|
||||
|
||||
function bindTabModuleListAction()
|
||||
{
|
||||
$('.action_tab_module').each( function (){
|
||||
$(this).click(function () {
|
||||
option = $('#'+$(this).data('option')+' :selected');
|
||||
if ($(option).data('onclick') != '')
|
||||
{
|
||||
|
||||
var f = eval("(function(){ "+$(option).data('onclick')+"})");
|
||||
if (f.call())
|
||||
window.location.href = $(option).data('href');
|
||||
}
|
||||
else
|
||||
window.location.href = $(option).data('href');
|
||||
return false;
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
// Delete all tags HTML
|
||||
function stripHTML(oldString)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user