Changeset 8827
- Timestamp:
- 05/07/08 10:41:21 (2 months ago)
- Files:
-
- branches/1.0/lib/helper/JavascriptHelper.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.0/lib/helper/JavascriptHelper.php
r8718 r8827 266 266 $options['form'] = true; 267 267 268 $options_html['onsubmit'] = remote_function($options).' ;return false;';268 $options_html['onsubmit'] = remote_function($options).' return false;'; 269 269 $options_html['action'] = isset($options_html['action']) ? $options_html['action'] : url_for($options['url']); 270 270 $options_html['method'] = isset($options_html['method']) ? $options_html['method'] : 'post'; … … 288 288 289 289 $options_html['type'] = 'button'; 290 $options_html['onclick'] = remote_function($options).' ;return false;';290 $options_html['onclick'] = remote_function($options).' return false;'; 291 291 $options_html['name'] = $name; 292 292 $options_html['value'] = $value; … … 447 447 } 448 448 449 return $function ;449 return $function.';'; 450 450 } 451 451