Changeset 698
- Timestamp:
- 12/14/07 23:08:50 (1 year ago)
- Files:
-
- trunk/lib/jelix-www/js/jforms.js (modified) (1 diff)
- trunk/lib/jelix-www/js/jforms.js (modified) (1 diff)
- trunk/lib/jelix/core/response/jResponseTcpdf.class.php (modified) (1 diff)
- trunk/lib/jelix/core/response/jResponseTcpdf.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/jelix-www/js/jforms.js
r686 r698 56 56 for(var i =0; i < f.controls.length; i++){ 57 57 var c = f.controls[i]; 58 var val = this._getValue(frmElt.elements[c.name]); 58 var elt = frmElt.elements[c.name]; 59 if (!elt) continue; // sometimes, all controls are not generated... 60 var val = this._getValue(elt); 59 61 if(val == ''){ 60 62 if(c.required){ trunk/lib/jelix-www/js/jforms.js
r686 r698 56 56 for(var i =0; i < f.controls.length; i++){ 57 57 var c = f.controls[i]; 58 var val = this._getValue(frmElt.elements[c.name]); 58 var elt = frmElt.elements[c.name]; 59 if (!elt) continue; // sometimes, all controls are not generated... 60 var val = this._getValue(elt); 59 61 if(val == ''){ 60 62 if(c.required){ trunk/lib/jelix/core/response/jResponseTcpdf.class.php
r696 r698 103 103 */ 104 104 public function __call($method, $attr){ 105 if ($this-> fpdf !== null){106 return call_user_func_array(array($this-> fpdf, $method), $attr );105 if ($this->tcpdf !== null){ 106 return call_user_func_array(array($this->tcpdf, $method), $attr ); 107 107 }else{ 108 108 throw new jException('jelix~errors.reptcpdf.not_a_jtcpdf'); trunk/lib/jelix/core/response/jResponseTcpdf.class.php
r696 r698 103 103 */ 104 104 public function __call($method, $attr){ 105 if ($this-> fpdf !== null){106 return call_user_func_array(array($this-> fpdf, $method), $attr );105 if ($this->tcpdf !== null){ 106 return call_user_func_array(array($this->tcpdf, $method), $attr ); 107 107 }else{ 108 108 throw new jException('jelix~errors.reptcpdf.not_a_jtcpdf');
