Commit 809c0b06 authored by Alina Habibulina's avatar Alina Habibulina

+auth form v2

parent 1ff11ddc
......@@ -11,7 +11,6 @@
<link rel ="stylesheet" href ="http://intern-dev.arta.kz/Synergy/js/form.player.css"/>
<script src ="http://intern-dev.arta.kz/Synergy/js/vendor.js" type ="text/javascript"></script>
<script src ="http://intern-dev.arta.kz/Synergy/js/form.player.js" type ="text/javascript"></script>
<script src ="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src ="js/Player.js"></script>
<link href ="css/beau.css" rel ="stylesheet"/>
</head>
......
......@@ -30,7 +30,6 @@ AS.SERVICES.unAuthorized = function()
location.reload();
};
var existHandlers = false;
var addHandlers = function(){
jQuery(".submit").on( "click", function(event){
......@@ -45,10 +44,9 @@ var addHandlers = function(){
$(".form_player_container").show();
portal.createPlayer("timesheet");
}
existHandlers = true;
});
}
$(document).ready(function(){
if (!existHandlers) addHandlers();
addHandlers();
});
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment