Changeset 72
- Timestamp:
- 07/23/08 23:26:20 (2 months ago)
- Files:
-
- trunk/lily/lily/chrome/content/export.xul (modified) (1 diff)
- trunk/lily/lily/chrome/content/exportDialog.xul (modified) (1 diff)
- trunk/lily/lily/chrome/content/exporter.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lily/lily/chrome/content/export.xul
r38 r72 53 53 </menupopup> 54 54 55 <script> 56 if(<START-ON-LOAD>) { 57 window.addEventListener("load",function(){ 58 document.getElementById("open<PROJECT-NAME>PatchItem").setAttribute("checked","true"); 59 Lily.openAddOnPatch('<PROJECT-NAME>',{getAttribute:function(){return "true";} 60 },<PROJECT-HIDE>)},false); 61 } 62 </script> 63 55 64 </overlay> trunk/lily/lily/chrome/content/exportDialog.xul
r49 r72 134 134 <label control="includeParentDir" value="Include the contents of the patch's parent directory?"/> 135 135 <checkbox checked="false" id="includeParentDirCbx"/> 136 </hbox> 136 </hbox> 137 </row> 138 <row id="startOnLoadRow"> 139 <hbox></hbox> 140 <hbox> 141 <label control="startOnLoad" value="Start the patch when the browser window opens?"/> 142 <checkbox checked="false" id="startOnLoadCbx"/> 143 </hbox> 137 144 </row> 138 145 </rows> trunk/lily/lily/chrome/content/exporter.js
r50 r72 786 786 var tmpOut = contentOut.clone(); 787 787 tmpOut.append(projectName+".xul"); 788 LilyUtils.writeFile(tmpOut,LilyUtils.readFile(tmpIn).replace(/<PROJECT-NAME>/g,(projectName)).replace(/<PROJECT-HIDE>/g,obj.hideMainCbx) );788 LilyUtils.writeFile(tmpOut,LilyUtils.readFile(tmpIn).replace(/<PROJECT-NAME>/g,(projectName)).replace(/<PROJECT-HIDE>/g,obj.hideMainCbx).replace(/<START-ON-LOAD>/g,obj.startOnLoadCbx)); 789 789 790 790 //lily.css
