Changeset 11771 for trunk/www/db_po/po.js
- Timestamp:
- 08/04/11 11:20:53 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/db_po/po.js
r11600 r11771 561 561 if (!key1) 562 562 alert("Please insert key1!"); 563 if (!key2)564 alert("Please insert key2!");565 563 if (!val) 566 564 alert("Please insert value!"); 567 if (!val || !descr || !key1 || !key2)565 if (!val || !descr || !key1) 568 566 return; 569 567 if (index==0) … … 650 648 { 651 649 alert("Maximum is not a float."); 650 return; 651 } 652 if (type=='float' && parseFloat(max)<parseFloat(min)) 653 { 654 alert("Maximum cannot be smaller than minimum."); 655 return; 656 } 657 if (type=='int' && parseInt(max)<parseInt(min)) 658 { 659 alert("Maximum cannot be smaller than minimum."); 652 660 return; 653 661 }
Note:
See TracChangeset
for help on using the changeset viewer.