projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d8300b
)
Sample/Window.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 27 May 2010 06:30:35 +0000
(14:30 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 27 May 2010 06:30:35 +0000
(14:30 +0800)
Sample/Window.js
patch
|
blob
|
history
diff --git
a/Sample/Window.js
b/Sample/Window.js
index
c9bc1ea
..
d527686
100644
(file)
--- a/
Sample/Window.js
+++ b/
Sample/Window.js
@@
-35,6
+35,9
@@
Window=new XObject({
default_width : 800,
default_height : 500,
id : "Window",
+ setTitle : function(str) {
+ this.el.set_title(this.title + ' - ' + str);
+ },
listeners : {
delete_event : function (self, event) {
return false;
@@
-703,6
+706,8
@@
Window=new XObject({
return;
}
+ this.get('/Window').setTitle(f.name);
+
if (f.items.length && typeof(f.items[0]) == 'string') {
this.get('/RightEditor').el.show();