From e9bf94237538614614748a2b7bf7f727607c3e24 Mon Sep 17 00:00:00 2001 From: Jonathan Frederic Date: Tue, 10 Dec 2013 16:54:33 -0800 Subject: [PATCH] Fixed backbone event handling for accordion view --- IPython/html/static/notebook/js/widgets/multicontainer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IPython/html/static/notebook/js/widgets/multicontainer.js b/IPython/html/static/notebook/js/widgets/multicontainer.js index 6f313dca3..b69dd6a29 100644 --- a/IPython/html/static/notebook/js/widgets/multicontainer.js +++ b/IPython/html/static/notebook/js/widgets/multicontainer.js @@ -22,9 +22,9 @@ define(["notebook/js/widget"], function(widget_manager){ render: function(){ var guid = 'accordion' + IPython.utils.uuid(); - this.$el = $('
', {id: guid}) + this.$el + .attr('id', guid) .addClass('accordion'); - this._ensureElement(); this.containers = []; },