- $(document).bind('panel:unload.' + self.instanceId,
- function(event, data) { self.unload(event, data); });
-
- $(document).bind('panel:contentChanged', function(event, data) {
- $.log(self, ' got changed event from: ', data);
- if(self != data)
- self.otherPanelChanged(event.target);
- else
- self.markChanged();
-
- return false;
- });
+ $(document).bind('panel:unload.' + self.instanceId,
+ function(event, data) {
+ self.unload(event, data);
+ });
+
+ $(document).bind('panel:contentChanged', function(event, data) {
+ $.log(self, ' got changed event from: ', data);
+ if(self != data)
+ self.otherPanelChanged(event.target);
+ else
+ self.markChanged();
+
+ return false;
+ });