- Timestamp:
- 08/03/12 15:01:09 (12 years ago)
- Location:
- branches/2.4
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.4/contactcenter/index.php
r4765 r6929 67 67 $obj->index(); 68 68 69 69 echo '<script type="text/javascript" src="../prototype/plugins/jquery/jquery.min.js"></script>'; 70 70 $GLOBALS['phpgw']->common->phpgw_footer(); 71 71 ?> -
branches/2.4/contactcenter/js/cc.js
r6170 r6929 990 990 /* Check Personal Data */ 991 991 992 if ( Element('cc_pd_given_names').value== '')992 if ($trim(Element('cc_pd_given_names').value) == '') 993 993 { 994 994 showMessage(Element('cc_msg_err_empty_field').value + " => " + Element('cc_pd_given_names').name); -
branches/2.4/contactcenter/js/ccQuickAdd-plugin.js
r5131 r6929 190 190 } 191 191 192 if(! sdata[1]){192 if(!$.trim(sdata[1])){ 193 193 alert("O campo nome é obrigatório(a)!"); 194 194 return false; -
branches/2.4/contactcenter/js/ccQuickAddContact.js
r4721 r6929 140 140 } 141 141 142 if(! sdata[1]){142 if(!$.trim(sdata[1])){ 143 143 alert("O campo nome é obrigatório(a)!"); 144 144 return false; -
branches/2.4/expressoMail1_2/js/ccQuickAdd.js
r6864 r6929 69 69 }; 70 70 $(this).find('input').removeClass("required-fail"); 71 if( data.name==""){71 if($.trim(data.name) ==""){ 72 72 $(this).find('#quickAddOne_firstName').addClass("required-fail"); 73 73 return false;
Note: See TracChangeset
for help on using the changeset viewer.