mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
1 line
757 B
JavaScript
1 line
757 B
JavaScript
(function(a,b){a.fn.originLayout=function(e,g){var f={};var d={init:function(){a("form").bind("submit.originLayout",d.events.originFormSubmit);a(".panel-action-area .btn-next").bind("click.originLayout",d.events.originNextButtonClick)},events:{originFormSubmit:function(h){a(".panel-action-area .origin-ux-button",this).addClass("disabled").unbind("click").bind("click",function(i){i.preventDefault()})},originNextButtonClick:function(h){if(a(this).hasClass("disabled")){h.stopImmediatePropagation()}else{a(this).parent(".panel-action-area").find(".origin-ux-button").addClass("disabled")}return false}},helpers:{}};var c=["init"];if(typeof e==="object"||!e){d.init()}else{if(a.inArray(e,c)){}}}})(jQuery);$(document).ready(function(){$.fn.originLayout()}); |