45156772f6ee6f60294d0fc8886116c15ca1bd31
[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>