Plugin Directory

Changeset 340708


Ignore:
Timestamp:
02/04/2011 03:41:29 PM (15 years ago)
Author:
jameslafferty
Message:

Update to 0.4.4. Bugfix in IE and subdirectory installs.

Location:
contact-dialog/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • contact-dialog/trunk/contact-dialog.php

    r336425 r340708  
    55Description: An AJAX-driven contact form in a modal dialog box.
    66Author: James Lafferty
    7 Version: 0.4.2
     7Version: 0.4.4
    88Author URI: https://github.com/kalchas
    99License: GPL2
  • contact-dialog/trunk/lib/nscontactdialog.class.php

    r334000 r340708  
    100100
    101101                        $options['contact_form'] = NSContactDialogAdmin::get_contact_form();
     102                       
     103                        $options['url'] = get_bloginfo('wpurl');
    102104
    103105                        echo 'jQuery(function($){$(document).nsContactDialog(' . json_encode($options) . ');})';
     
    146148
    147149            wp_enqueue_script('jquery-validate', self::URL . 'js/jquery.validate.min.js', array('jquery'), false);
    148 
    149             wp_enqueue_script('jquery-nscontact-dialog', self::URL . 'js/jquery.ns-contactdialog.js', array('jquery-validate', 'jquery-ui-custom'), false);
     150           
     151            wp_enqueue_script('recaptcha', 'http://www.google.com/recaptcha/api/js/recaptcha_ajax.js', array(), false);
     152
     153            wp_enqueue_script('jquery-nscontact-dialog', self::URL . 'js/jquery.ns-contactdialog.js', array('jquery-validate', 'jquery-ui-custom', 'recaptcha'), false);
    150154
    151155            wp_enqueue_script('jquery-nscontact-jsonp', get_bloginfo('wpurl') . '?nscontactdialog=' . wp_create_nonce(basename(__FILE__)) . '&nscdaction=add-dialogs', array('jquery-nscontact-dialog'), true);
  • contact-dialog/trunk/lib/nscontactdialogadmin.class.php

    r333137 r340708  
    143143        $contact_form .= '<p><label>' . __('Message', 'contact-dialog') . '<br /><textarea class="message-body" name="message-body"></textarea></label></p>';
    144144       
     145        $contact_form .= '<div id="recaptcha"></div>';
     146       
    145147        $contact_form .= '<p><input class="button" type="submit" value="' . __('Send Message', 'contact-dialog') . '" /></p>';
    146148       
  • contact-dialog/trunk/readme.txt

    r336425 r340708  
    3434
    3535== Changelog ==
     36= 0.4.4 =
     37* Fixed bug preventing the display of the Recaptcha in IE. Thank you to [welshylad](http://wordpress.org/support/profile/welshylad) for pointing this out.
     38
     39* Fixed bug that was preventing proper submission on subdirectory installs of WordPress. Thank you to [jeptech](http://wordpress.org/support/profile/jeptech) for finding this.
     40
    3641= 0.4.2 =
    3742* Added additional French translation on admin side.
     
    5459
    5560== Upgrade Notice ==
     61= 0.4.4 =
     62* Fixes serious bugs for Internet Explorer and subdirectory installs of WordPress
     63
    5664= 0.4.2 =
    5765* This updates some fields that previously were not being translated into French.
Note: See TracChangeset for help on using the changeset viewer.