Changeset 8828
- Timestamp:
- 05/07/08 10:41:28 (5 months ago)
- Files:
-
- branches/1.1/lib/helper/JavascriptHelper.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.1/lib/helper/JavascriptHelper.php
r8719 r8828 275 275 $options['form'] = true; 276 276 277 $options_html['onsubmit'] = remote_function($options).' ;return false;';277 $options_html['onsubmit'] = remote_function($options).' return false;'; 278 278 $options_html['action'] = isset($options_html['action']) ? $options_html['action'] : url_for($options['url']); 279 279 $options_html['method'] = isset($options_html['method']) ? $options_html['method'] : 'post'; … … 297 297 298 298 $options_html['type'] = 'button'; 299 $options_html['onclick'] = remote_function($options).' ;return false;';299 $options_html['onclick'] = remote_function($options).' return false;'; 300 300 $options_html['name'] = $name; 301 301 $options_html['value'] = $value; … … 319 319 320 320 $options_html['type'] = 'image'; 321 $options_html['onclick'] = remote_function($options).' ;return false;';321 $options_html['onclick'] = remote_function($options).' return false;'; 322 322 $options_html['name'] = $name; 323 323 $options_html['src'] = image_path($source); … … 487 487 } 488 488 489 return $function ;489 return $function.';'; 490 490 } 491 491