Changeset 205 for trunk/phpbms/common
- Timestamp:
- 03/26/07 16:50:25 (5 years ago)
- Location:
- trunk/phpbms/common/javascript
- Files:
-
- 2 modified
-
fields.js (modified) (1 diff)
-
queryfunctions.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/common/javascript/fields.js
r204 r205 138 138 } 139 139 if(errorMessage!=""){ 140 errorMessage="<UL>"+errorMessage+"</UL><DIV align=\"right\"><button class=\"Buttons\" on Click=\"closeModal()\" style=\"width:75px;\">ok</button></DIV>";140 errorMessage="<UL>"+errorMessage+"</UL><DIV align=\"right\"><button class=\"Buttons\" onclick=\"closeModal()\" style=\"width:75px;\">ok</button></DIV>"; 141 141 142 142 showModal(errorMessage,"Cannot Save",300); -
trunk/phpbms/common/javascript/queryfunctions.js
r204 r205 166 166 howmany+="s" 167 167 var content="<div>Are you sure you want to "+deletename+" the "+howmany+"?</div>"; 168 content+="<div align=\"right\"><input type=\"button\" class=\"\Buttons\" style=\"width:75px;margin-right:2px;\" value=\"yes\" on Click=\"doDelete()\" /><input type=\"button\" class=\"\Buttons\" style=\"width:75px;\" value=\"no\" onClick=\"closeModal()\" /></div>"168 content+="<div align=\"right\"><input type=\"button\" class=\"\Buttons\" style=\"width:75px;margin-right:2px;\" value=\"yes\" onclick=\"doDelete()\" /><input type=\"button\" class=\"\Buttons\" style=\"width:75px;\" value=\"no\" onclick=\"closeModal()\" /></div>" 169 169 showModal(content,"Confirm",300) ; 170 170 } … … 760 760 } 761 761 function sortAskSaveName(base){ 762 var text="<p>name<br /><input id=\"sortSaveName\" type=\"text\" maxlength=\"128\" length=\"40\" on KeyUp=\"sortEnableSave(this)\" style=\"width:98%\" /></p>";763 text+="<p align=\"right\"><input type=\"button\" class=\"Buttons\" id=\"sortDoSave\" on Click=\"sortSave('"+base+"')\" value=\"save\" style=\"width:75px\" disabled=\"true\"/>";764 text+="<input type=\"button\" class=\"Buttons\" on Click=\"closeModal()\" value=\"cancel\" style=\"margin-left:5px;width:75px\"/></p>"762 var text="<p>name<br /><input id=\"sortSaveName\" type=\"text\" maxlength=\"128\" length=\"40\" onkeyup=\"sortEnableSave(this)\" style=\"width:98%\" /></p>"; 763 text+="<p align=\"right\"><input type=\"button\" class=\"Buttons\" id=\"sortDoSave\" onclick=\"sortSave('"+base+"')\" value=\"save\" style=\"width:75px\" disabled=\"disabled\"/>"; 764 text+="<input type=\"button\" class=\"Buttons\" onclick=\"closeModal()\" value=\"cancel\" style=\"margin-left:5px;width:75px\"/></p>" 765 765 showModal(text,"Save Sort As...",250); 766 766 }