Revision f784d324 snf-cyclades-app/synnefo/ui/static/snf/js/views_ext.js
b/snf-cyclades-app/synnefo/ui/static/snf/js/views_ext.js | ||
---|---|---|
215 | 215 |
if (this.create_view_cls) { |
216 | 216 |
this._create_view = new this.create_view_cls(); |
217 | 217 |
} |
218 |
this.$(".create-button a").click(_.bind(function(e) { |
|
218 |
|
|
219 |
this.create_button = this.$(".create-button a"); |
|
220 |
this.create_button.click(_.bind(function(e) { |
|
219 | 221 |
e.preventDefault(); |
220 | 222 |
this.handle_create_click(); |
221 | 223 |
}, this)); |
Also available in: Unified diff