git.ithinksw.org
/
extjs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git]
/
examples
/
dd
/
dragdropzones.js
diff --git
a/examples/dd/dragdropzones.js
b/examples/dd/dragdropzones.js
index
f320b7c
..
912598c
100644
(file)
--- a/
examples/dd/dragdropzones.js
+++ b/
examples/dd/dragdropzones.js
@@
-123,15
+123,19
@@
Ext.onReady(function() {
width: 920,
height: 500,
closeAction: 'hide',
width: 920,
height: 500,
closeAction: 'hide',
- renderTpl: [
- '<textarea readonly class="{baseCls}-body<tpl if="bodyCls"> {bodyCls}</tpl><tpl if="frame"> {baseCls}-body-framed</tpl><tpl if="ui"> {baseCls}-body-{ui}</tpl>"<tpl if="bodyStyle"> style="{bodyStyle}"</tpl>></div>'
+ layout: 'fit',
+ items: [
+ {
+ xtype: 'textarea',
+ itemId: 'srcTextArea'
+ }
],
listeners: {
render: function(w) {
Ext.Ajax.request({
url: 'dragdropzones.js',
success: function(r) {
],
listeners: {
render: function(w) {
Ext.Ajax.request({
url: 'dragdropzones.js',
success: function(r) {
- w.
body.dom.value = r.responseText
;
+ w.
down('#srcTextArea').setValue(r.responseText)
;
}
});
}
}
});
}