X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=Roo%2Fbootstrap%2Fform%2FMarkdown.js;fp=Roo%2Fbootstrap%2FMarkdown.js;h=f30307ee6c878f55971029a5ef9fc5bb6cb0e49e;hp=8b0447e075a68eec1a7b605e64fe17ad0f919ced;hb=e01802ac69da0ec0c9ccecc295beff82c1779f68;hpb=0fa7894b7489284160ff14afdca7b6911983357f diff --git a/Roo/bootstrap/Markdown.js b/Roo/bootstrap/form/Markdown.js similarity index 84% rename from Roo/bootstrap/Markdown.js rename to Roo/bootstrap/form/Markdown.js index 8b0447e075..f30307ee6c 100644 --- a/Roo/bootstrap/Markdown.js +++ b/Roo/bootstrap/form/Markdown.js @@ -4,8 +4,8 @@ */ /** - * @class Roo.bootstrap.Markdown - * @extends Roo.bootstrap.TextArea + * @class Roo.bootstrap.form.Markdown + * @extends Roo.bootstrap.form.TextArea * Bootstrap Showdown editable area * @cfg {string} content * @@ -13,19 +13,19 @@ * Create a new Showdown */ -Roo.bootstrap.Markdown = function(config){ - Roo.bootstrap.Markdown.superclass.constructor.call(this, config); +Roo.bootstrap.form.Markdown = function(config){ + Roo.bootstrap.form.Markdown.superclass.constructor.call(this, config); }; -Roo.extend(Roo.bootstrap.Markdown, Roo.bootstrap.TextArea, { +Roo.extend(Roo.bootstrap.form.Markdown, Roo.bootstrap.form.TextArea, { editing :false, initEvents : function() { - Roo.bootstrap.TextArea.prototype.initEvents.call(this); + Roo.bootstrap.form.TextArea.prototype.initEvents.call(this); this.markdownEl = this.el.createChild({ cls : 'roo-markdown-area' }); @@ -78,7 +78,7 @@ Roo.extend(Roo.bootstrap.Markdown, Roo.bootstrap.TextArea, { }, setValue : function(val) { - Roo.bootstrap.TextArea.prototype.setValue.call(this,val); + Roo.bootstrap.form.TextArea.prototype.setValue.call(this,val); if (!this.editing) { this.updateMarkdown(); }