Browse Source

fixed minor JS codestyle issues

tags/2.0.0-beta
Alexander Makarov 12 years ago
parent
commit
31a46f5bcf
  1. 4
      yii/assets/yii.captcha.js

4
yii/assets/yii.captcha.js

@ -51,8 +51,8 @@
dataType: 'json', dataType: 'json',
cache: false, cache: false,
success: function(data) { success: function(data) {
$e.attr('src', data['url']); $e.attr('src', data.url);
$('body').data(settings.hashKey, [data['hash1'], data['hash2']]); $('body').data(settings.hashKey, [data.hash1, data.hash2]);
} }
}); });
}, },

Loading…
Cancel
Save