- $(window).bind('resize', {'panel': panel}, resizeEditor);
- resizeEditor(null, panel);
- }, function(event, panel) {});
+ $(document).bind('panel:contentChanged.' + id, function(event, p) {
+ $('.change-notification', $(panel).parent()).fadeIn();
+ })
+ }, function(event, panel) {
+ $(document).unbind('panel:contentChanged.' + id);
+ });