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         var id = Math.ceil(Math.random() * 1000000000);
5         
6         panel(function(event, me) {
7             $(document).bind('panel:contentChanged.' + id, function(event, p) {
8                 $('.change-notification', $(me).parent()).fadeIn();
9             });
10             $(me).addClass('panel-htmleditor');
11         }, function(event, me) {
12             $(me).removeClass('panel-htmleditor');
13             $(document).unbind('panel:contentChanged.' + id);
14         });
15     })()
16 </script>