Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save danielrobbins/3343008 to your computer and use it in GitHub Desktop.
Save danielrobbins/3343008 to your computer and use it in GitHub Desktop.
Patches ZEN-2819: refs ZEN-2797 fixed by tsanders. Fixed by removing a double fire on first load. reviewed by noone, trunk reviewed by jhanson.
Index: branches/core/zenoss-4.2.x/Products/ZenUI3/browser/resources/js/zenoss/ComponentPanel.js
===================================================================
--- branches/core/zenoss-4.2.x/Products/ZenUI3/browser/resources/js/zenoss/ComponentPanel.js (revision 61801)
+++ branches/core/zenoss-4.2.x/Products/ZenUI3/browser/resources/js/zenoss/ComponentPanel.js (revision 62483)
@@ -566,7 +566,4 @@
if (token.split(Ext.History.DELIMITER).length!=3) {
this.getSelectionModel().selectRange(0, 0);
- // Ext, for some reason, doesn't fire selectionchange at this
- // point, so we'll do it ourselves.
- this.fireEvent('selectionchange', this, this.getSelectionModel().getSelection());
}
}, this, {single:true});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment