Commit 30cc2df9 authored by Valentin Skripnikov's avatar Valentin Skripnikov

-

parent 6071ffc6
...@@ -45,14 +45,10 @@ ...@@ -45,14 +45,10 @@
* добавить новый проигрыватель форм * добавить новый проигрыватель форм
*/ */
createPlayer: function (formCode) { createPlayer: function (formCode) {
portal.clearPlayer(); portal.clearPlayer();
portal.player = AS.FORMS.createPlayer(); portal.player = AS.FORMS.createPlayer();
portal.player.showFormByCode(formCode); portal.player.showFormByCode(formCode);
portal.player.view.setEditable(true); portal.player.view.setEditable(true);
portal.player.view.appendTo($('#form_player_div')); portal.player.view.appendTo($('#form_player_div'));
AS.FORMS.bus.on(AS.FORMS.EVENT_TYPE.formShow, function (event, model, view) { AS.FORMS.bus.on(AS.FORMS.EVENT_TYPE.formShow, function (event, model, view) {
...@@ -62,7 +58,6 @@ ...@@ -62,7 +58,6 @@
}); });
} }
}); });
}, },
main: function (view, model) { main: function (view, model) {
...@@ -75,10 +70,8 @@ ...@@ -75,10 +70,8 @@
}); });
}); });
} }
}; };
$(document).ready(function () { $(document).ready(function () {
AS.OPTIONS.login = "admin"; AS.OPTIONS.login = "admin";
......
...@@ -24,6 +24,5 @@ ...@@ -24,6 +24,5 @@
.. literalinclude:: ../../_static/html/forms/widgets/datepicker.html .. literalinclude:: ../../_static/html/forms/widgets/datepicker.html
:language: html :language: html
:emphasize-lines: 54-61 :emphasize-lines: 63-72
:encoding: utf-8 :encoding: utf-8
:linenos:
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