Merge branch 'master' of git@stigma:platforma
[redakcja.git] / project / templates / explorer / panels / htmleditor.html
1 {{ html|safe }}
2 <script type="text/javascript" charset="utf-8">
3 (function() {
4
5 var id = Math.ceil(Math.random() * 1000000000);
6
7 load_callback = function(panel) {
8         $(document).bind('panel:contentChanged.' + id, function(event, p) {
9          $('.change-notification', $(this).parent()).fadeIn();
10         });
11     $(this).addClass('panel-htmleditor');
12 }
13
14 unload_callback = function(panel) {
15             $(me).removeClass('panel-htmleditor');
16             $(document).unbind('panel:contentChanged.' + id);
17 }
18
19 })();
20 </script>