projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
major doc changes
[roojs1]
/
Roo
/
bootstrap
/
form
/
Markdown.js
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
8b0447e
..
f30307e
100644
(file)
--- 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
*
* Bootstrap Showdown editable area
* @cfg {string} content
*
@@
-13,19
+13,19
@@
* Create a new Showdown
*/
* 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()
{
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'
});
this.markdownEl = this.el.createChild({
cls : 'roo-markdown-area'
});
@@
-78,7
+78,7
@@
Roo.extend(Roo.bootstrap.Markdown, Roo.bootstrap.TextArea, {
},
setValue : function(val)
{
},
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();
}
if (!this.editing) {
this.updateMarkdown();
}