Development

Changeset 6211

You must first sign up to be able to contribute.

Changeset 6211

Show
Ignore:
Timestamp:
11/29/07 17:18:48 (11 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
  • trunk/lib/plugins/sfCompat10Plugin/lib/helper/UrlHelper.php

    r4597 r6211  
    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