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