Alexander Makarov
de4f518b94
More renaming
8 years ago
Alexander Makarov
dc294ba56f
Renamed variables, changed logic of turning client updates on
8 years ago
Alexander Makarov
b25ebaa782
Fixed formatting
8 years ago
SilverFire - Dmitry Naumenko
9807b2e1a1
Follow-up to 65c2ade
. Smarter fix of #13118
8 years ago
SilverFire - Dmitry Naumenko
65c2ade8ed
Fixed `handleAction()` function in `yii.js` to handle attribute `data-pjax=0` as disabled PJAX
...
Fixes #13118
8 years ago
Alexander Makarov
ed8acc8e03
#12399 adjustments
8 years ago
a.kompaniets
fb779e3ec6
Fixes #12399 : Added `ActiveField::addAriaAttributes` property for `aria-required` and `aria-invalid` attributes rendering
8 years ago
Alexey Rogachev
8ea1f510af
Implemented Javascript test suite
...
fixes #12840
Used @nkovacs draft as starting
point(https://github.com/yiisoft/yii2/issues/11037#issuecomment-193356450 ).
I also fixed some bugs in `yii.validation.js` and did some refactoring.
Implemented tests:
- yii.validation.js
Running tests:
- Install Node.js. I used the latest version available at the moment -
`v7.1.0`. Note that used `jsdom` dependent library version requires
`Node.js >= 4`.
- Run `npm install` to install dependencies.
- Execute `npm test` for running tests.
8 years ago
mrgarry
f5049d8a31
Correct MSIE8 reserved word error ( #12722 )
...
In MSIE8 and below, yii.gridView file is not loaded and GridView widget is not working (throws Identifier expected error). The reason is that the variable name 'class' is a reserved word. To correct this, the variable name should be changed into an array key, which eliminates the error.
More info about the causes of error: https://tiffanybbrown.com/2013/09/10/expected-identifier-bug-in-internet-explorer-8/
8 years ago
SilverFire - Dmitry Naumenko
6f4c52a53d
Simplified Regex usage in JS
...
Follows 70752b0fc1
8 years ago
SilverFire - Dmitry Naumenko
0c33c9d075
Revert "Enhances ActiveForm with support for HTML5 attributes like formaction, formtarget and formmethod ( #8719 ) [ci-skip] ( #11999 )"
...
This reverts commit 3ba72da6fa
.
Fixes #12803
Fixes #12921
8 years ago
Carsten Brandt
b49ce4f0bb
Fixes Gridview JS to respect # in filterUrl ( #12837 )
...
* Fixes Gridview JS to respect # in filterUrl
fixes #12836
* Update CHANGELOG.md
8 years ago
Alexey Rogachev
70752b0fc1
Fixes #11037 : yii.js and yii.validation.js should use Regexp.test instead of String.match ( #12839 )
8 years ago
Māris Graudiņš
8f5b1fb3eb
Fixes #12790 : Added `scrollToErrorOffset` option for `ActiveForm` which adds ability to specify offset in pixels when scrolling to error
8 years ago
SilverFire - Dmitry Naumenko
6fa828805a
Force AJAX validation on form submit
...
When AJAX validation in enabled, `yii.activeForm.js` will run it forcefully on form submit to display all possible errors
Fixes #12499
8 years ago
SilverFire - Dmitry Naumenko
17df7577a5
Fixed URI component decoding with `+` (plus) sign
...
Fixes #11921
8 years ago
werew01f
1bd13e233b
afterInit event for yiiActiveForm
...
https://github.com/yiisoft/yii2/issues/12744
8 years ago
SilverFire - Dmitry Naumenko
1ab204e481
Fixed race condition in yii.js ajax prefilter
...
Closes #10358
8 years ago
SilverFire - Dmitry Naumenko
2d84f72e52
Reverted mis-paste during mege
8 years ago
githubjeka
76ced661b2
DetailView captionOptions & contentOptions attributes
8 years ago
SilverFire - Dmitry Naumenko
32f42e3fa6
Allow wildcards for reloadble CSS files
8 years ago
SilverFire - Dmitry Naumenko
ea0c6d7a1a
`yii.reloadableScripts` now support wildcards with `*` character
...
Closes #11494
8 years ago
SilverFire - Dmitry Naumenko
fc41a1c04b
Prevent reading property of undefined in `updateInputs()`
...
Closes #11352
8 years ago
Michael Härtl
3d4ab267b9
Issue #12580 Make yii.js comply to js strict mode
8 years ago
Thyiad
8ff0480f2e
loop array should use forEach or for index < length
8 years ago
DrDeath72
0c288ea49e
Fixes #12376 : Added parameter to `yii.activeForm.js` `validate()` method to be able to force validation
8 years ago
Robbert Jan van de Velde
3ba72da6fa
Enhances ActiveForm with support for HTML5 attributes like formaction, formtarget and formmethod ( #8719 ) [ci-skip] ( #11999 )
...
* Enhances ActiveForm with support for HTML5 attributes like formaction, formtarget and formmethod (#8719 )
* Requested (format) changes by samdark
8 years ago
Anatoly Rugalev
fa5baf3275
[ #9989 ] Added support of formaction, formmethod and formenctype submit button attributes
8 years ago
SilverFire - Dmitry Naumenko
ffb121ba63
Reverted fix of beforeValidate event calling in `yii.activeForm.js`
8 years ago
SilverFire - Dmitry Naumenko
aaff45ebf1
Revert "Fixes #11972 : Fixed active form `afterValidate` wasn't triggered in some cases"
...
This reverts commit 8211dcc41b
.
8 years ago
lynicidn
8211dcc41b
Fixes #11972 : Fixed active form `afterValidate` wasn't triggered in some cases
8 years ago
pavlm
355d83ac58
Fixes #11947 : Fixed `gridData` initialization in `yii.gridView.js`
8 years ago
lynicidn
e8bcb93507
Fixes #10681 : Fixed active form `beforeValidate` wasn't triggered in some cases
8 years ago
Thiago Talma
60a2a54fc8
CheckboxColumn - Use CSS class to find the elements ( #11729 )
...
* Use CSS class to fetch the elements
* default null
* CHANGELOG.md
* CHANGELOG.md
8 years ago
Nazar Mokrynskyi
cc102294f8
Simplify ready callback ( #11749 )
8 years ago
Oleg Poludnenko
b9eb09b8b5
Set attribute $form as a scope for selector
8 years ago
Oleg Poludnenko
251812f426
Pass $form to the attribute
8 years ago
DrDeath72
fd6f536eaf
YUI Compressor fix
8 years ago
AnatolyRugalev
59fdac54ff
Added support of :submit[formtarget]
9 years ago
SilverFire - Dmitry Naumenko
5686a9ddeb
Revert "* Added support of :submit[formtarget]"
...
This reverts commit d3fb217dfa
.
9 years ago
SilverFire - Dmitry Naumenko
d3beca32b4
Refactored PR, updated CHANGELOG
9 years ago
Anatoly Rugalev
d3fb217dfa
* Added support of :submit[formtarget]
...
* Added support of :submit[formtarget]
9 years ago
SilverFire - Dmitry Naumenko
e5bcbf4e1d
Closes #11228 : `yii.activeForm.js` - AJAX validation will not be triggered if client side validation failed
9 years ago
DrDeath72
8757088f5f
`yii.js` - fixed `getQueryParams()` function to handle URLs with anchors correctly
...
Closes #11066
9 years ago
MaximAL
be44d265e2
Fix accidental `getResponseHeader()` fails
9 years ago
SilverFire - Dmitry Naumenko
7aef671872
Refactored FileHelper::validateMimeType, js validaton, PHPDocs
9 years ago
kirSeNN
a4c68b5278
#5469 added mimetype mask validation feature
9 years ago
SilverFire - Dmitry Naumenko
b804dbb98f
IpValidator JS validation: wrongIp->message renamed
9 years ago
SilverFire - Dmitry Naumenko
4c31c26628
EmailValidator - the name of the mailbox is no longer limited with the length
9 years ago
Andrew Nester
9eaa82e15d
10555 - Fix for ActiveForm - When previous action doesn't reload page, this action will be triggered again when another submit button clicked
9 years ago