Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | var UIModals = function () { |
| 2 | |||
| 3 | var handleModals = function () { |
||
| 4 | $("#draggable").draggable({ |
||
| 5 | handle: ".modal-header" |
||
| 6 | }); |
||
| 7 | } |
||
| 8 | |||
| 9 | return { |
||
| 10 | //main function to initiate the module |
||
| 11 | init: function () { |
||
| 12 | handleModals(); |
||
| 13 | } |
||
| 14 | |||
| 15 | }; |
||
| 16 | |||
| 17 | }(); |
||
| 18 | |||
| 19 | jQuery(document).ready(function() { |
||
| 20 | UIModals.init(); |
||
| 21 | }); |