diff --git a/framework/CHANGELOG.md b/framework/CHANGELOG.md index 5044d5d..3c74ca0 100644 --- a/framework/CHANGELOG.md +++ b/framework/CHANGELOG.md @@ -4,6 +4,7 @@ Yii Framework 2 Change Log 2.0.0-rc under development -------------------------- +- Bug #3934: Changed prop() method to attr() to get correct url (joni-jones) - Bug #1263: Fixed the issue that Gii and Debug modules might be affected by incompatible asset manager configuration (qiangxue) - Bug #2314: Gii model generator does not generate correct relation type in some special case (qiangxue) - Bug #2563: Theming is not working if the path map of the theme contains ".." or "." in the paths (qiangxue) diff --git a/framework/assets/yii.js b/framework/assets/yii.js index f3c6468..350c811 100644 --- a/framework/assets/yii.js +++ b/framework/assets/yii.js @@ -116,7 +116,7 @@ yii = (function ($) { } var $form = $e.closest('form'); - var action = $e.prop('href'); + var action = $e.attr('href'); var newForm = !$form.length || action && action != '#'; if (newForm) { if (!action || !action.match(/(^\/|:\/\/)/)) {