eng
fr
Language:
jQuery(function(){mtekk_admin_tabulator_init()});function mtekk_admin_tabulator_init(){if(!jQuery("#hasadmintabs").length){return}jQuery("#hasadmintabs").prepend('');jQuery("#hasadmintabs > fieldset").each(function(c){id=jQuery(this).attr("id");cssc=jQuery(this).attr("class");title=jQuery(this).find("h3.tab-title").attr("title");caption=jQuery(this).find("h3.tab-title").text();jQuery("#hasadmintabs > ul").append('
  • '+caption+"
  • ");jQuery(this).find("h3.tab-title").hide()});var b=jQuery("#"+objectL10n.mtad_uid+"-options");var a=jQuery("#hasadmintabs").tabs({beforeActivate:function(c,e){b.find("input").each(function(){if(!this.checkValidity()){b.find(":submit").click();c.preventDefault()}});var d=b.attr("action").split("#",1)+"#"+e.newPanel[0].id;b.get(0).setAttribute("action",d)},create:function(c,e){var d=b.attr("action").split("#",1)+"#"+e.panel[0].id;b.get(0).setAttribute("action",d)}})};