Commit f9befd58 by Qiang Xue

typo. [skip ci]

parent e343d2d7
...@@ -116,7 +116,7 @@ yii = (function ($) { ...@@ -116,7 +116,7 @@ yii = (function ($) {
} }
var $form = $e.closest('form'); var $form = $e.closest('form');
var newForm = !$form.length && $e.prop('href') != ''; var newForm = !$form.length || $e.prop('href') != '';
if (newForm) { if (newForm) {
var action = $e.prop('href'); var action = $e.prop('href');
if (!action || !action.match(/(^\/|:\/\/)/)) { 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