Changeset 62
- Timestamp:
- 07/20/08 22:51:51 (2 months ago)
- Files:
-
- trunk/lily/lily/chrome/content/externals/patcher.js (modified) (1 diff)
- trunk/lily/lily/chrome/content/object.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lily/lily/chrome/content/externals/patcher.js
r57 r62 250 250 if(!Lily.patcherReloadFlag) { //only when we're not reloading the object. 251 251 if(isPatchString) { thisPatch.file.remove(false); } //remove the temp file if we have one. 252 thisPatch.obj.close(); //clean up the patch252 if(thisPatch.obj) thisPatch.obj.close(); //clean up the patch 253 253 thisPatch = {obj:null,id:pid,file:null,json:null}; //reset the thispatch object 254 254 } trunk/lily/lily/chrome/content/object.js
r61 r62 1066 1066 1067 1067 //methods for editing default object 1068 if(!this.objView.usesCustomUI &&thisPtr.objView.parent.displayArgs) { //not if there's a custom or if we're hiding the args (ie patcher)1068 if(!this.objView.usesCustomUI/*&&thisPtr.objView.parent.displayArgs*/) { //not if there's a custom or if we're hiding the args (ie patcher) 1069 1069 this.attachObserver(this.id,"dblclick",function(){thisPtr.startEditObj();},"edit"); 1070 1070 this.attachObserver(this.id,"blur",function(){thisPtr.doneEditObj();},"edit"); … … 1699 1699 if(this.objInput) { 1700 1700 var args = (typeof obj.displayArgs == "string") ? obj.displayArgs : obj.args; 1701 this.objInput.value=this.display + ((args)?" ":"") + args;1701 this.objInput.value=this.display + ((args)?" ":"") + (obj.displayArgs==true?args:""); 1702 1702 this.objInput.focus(); 1703 1703 this.objInput.select();
