Development

Changeset 6203

You must first sign up to be able to contribute.

Changeset 6203

Show
Ignore:
Timestamp:
11/29/07 14:27:36 (10 months ago)
Author:
fabien
Message:

fixed typo in the submit_tag() of the UrlHelper?.php (closes #2493)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0/lib/helper/UrlHelper.php

    r4195 r6203  
    365365    if ($onclick) 
    366366    { 
    367       $html_options['onclick'] = 'if ('._confirm_javascript_function($confirm).') {'.$onclick.'}'; 
     367      $html_options['onclick'] = 'if ('._confirm_javascript_function($confirm).') { return '.$onclick.'} else return false;'; 
    368368    } 
    369369    else