typo. [skip ci]

This commit is contained in:
Qiang Xue
2014-03-25 23:34:30 -04:00
parent e343d2d7db
commit f9befd58fc

View File

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