Commit 0cdfc364 by Qiang Xue

Merge pull request #3963 from joni-jones/master

Fixed #3934: Added attr() method instead prop()
parents 5a13121d 255bd33a
......@@ -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)
......
......@@ -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(/(^\/|:\/\/)/)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment