diff --git a/package.json b/package.json index 8d5200cd..c1daf41e 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,7 @@ "c9.ide.find": "#35379124ca", "c9.ide.find.infiles": "#c132ad243c", "c9.ide.find.replace": "#44772dd796", - "c9.ide.run.debug": "#25a59d1269", + "c9.ide.run.debug": "#aa292a3d7d", "c9.automate": "#47e2c429c9", "c9.ide.ace.emmet": "#6dc4585e02", "c9.ide.ace.gotoline": "#a8ff07c8f4", diff --git a/plugins/c9.ide.ui/forms.js b/plugins/c9.ide.ui/forms.js index 105fd74d..5b57dde9 100644 --- a/plugins/c9.ide.ui/forms.js +++ b/plugins/c9.ide.ui/forms.js @@ -56,7 +56,7 @@ define(function(require, exports, module) { container = new ui.bar({ htmlNode: htmlNode || document.body, "class" : options.className, - style: options.style + style: options.style || "" }); plugin.addElement(container); @@ -479,7 +479,7 @@ define(function(require, exports, module) { } htmlNode.insertBefore(container.$ext, beforeNode || null); - emit("show"); + show(); } function detach(){ @@ -491,6 +491,11 @@ define(function(require, exports, module) { if (!json) json = {}; + if (!drawn) { + draw(); + hide(); + } + (amlNode || container).childNodes.forEach(function(row) { if (row.localName == 'bar') return toJson(row, json);