SilverFire - Dmitry Naumenko
1330ca9ec1
Fixed yii.js to follow jQuery 3.0 API changes
...
https://jquery.com/upgrade-guide/3.0/#breaking-change-and-feature-jquery-when-arguments
Single argument that is not a promise will be automatically resolved and passed to `done()` handlers
7 years ago
Alexander Makarov
be211f76f5
Removed debug statement [skip ci]
7 years ago
SilverFire - Dmitry Naumenko
7e681b4a56
Fixed yii.js to follow jquery-pjax API changes
...
Fixes #14926
7 years ago
eXeCUT
0e240ef2d0
Container type for pjax must be string
7 years ago
Robert Korulczyk
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
7 years ago
Vladislav Lyshenko
b00cd65ef3
Fixes #13738 : Fixed `getQueryParams()` method in `yii.js` to correctly parse URL with question mark and no query parameters
8 years ago
Alexey Rogachev
6b8cf1709e
Fixes #13306 : Wildcard in `reloadableScripts` in `yii.js` allows 0 characters
8 years ago
Alexey Rogachev
37f19a0256
Fixes #13300 , #13307 , #13310 , #13312
...
- Bug #13300 : Allow pjax with "data-pjax" with no value in `yii.js`.
- Bug #13307 : Preventing of race conditions in script filter in `yii.js` works incorrectly.
- Bug #13310 : Handle relative and absolute URLs coincidence in CSS filter in `yii.js`.
- Bug #13312 : `skipOuterContainers` option was incorrectly passed to pjax in `handleAction` in `yii.js`.
- Partially fixes #13299 .
Adds tests for #8014 , #11921 , #10974 , #11494 , #10358 , #10097 .
8 years ago
SilverFire - Dmitry Naumenko
7b5efe5161
Enhanced `handleAction()` in `yii.js`
...
Closes #12737
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
SilverFire - Dmitry Naumenko
6f4c52a53d
Simplified Regex usage in JS
...
Follows 70752b0fc1
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
SilverFire - Dmitry Naumenko
17df7577a5
Fixed URI component decoding with `+` (plus) sign
...
Fixes #11921
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
Michael Härtl
3d4ab267b9
Issue #12580 Make yii.js comply to js strict mode
8 years ago
Nazar Mokrynskyi
cc102294f8
Simplify ready callback ( #11749 )
8 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
Sam Mousa
25b1178515
Implemented data-form support.
9 years ago
Pavel Solomienko
b6b2befb00
Fix cutting of url params with the same name upon filtering
9 years ago
SilverFire - Dmitry Naumenko
cd87d67f34
Global DOCS update: ~~~ replaced with ```
9 years ago
servocoder
f2039c2b4a
Unable to get target DOM element in pjax events upon deletion grid row
9 years ago
servocoder
a301d7154a
Enh #10267 : `yii.js` - added original event passing to `pjaxOptions` for links with `data-method` and `data-pjax`
9 years ago
SilverFire - Dmitry Naumenko
69ceccc213
Closes #10264 : Generating of HTML tags in in yii.* JS redone in jQuery style
9 years ago
SilverFire - Dmitry Naumenko
c8fae603b0
yii.js - handleMethid() - added passing of data-options pushRedirect, replaceRedirect, skipOuterContainers to PJAX
9 years ago
SilverFire - Dmitry Naumenko
84d6fce5de
yii.js - minor, variable renamed
9 years ago
lichunqiang
a349c1ee1b
Changed yii.confirm context bind
9 years ago
derekisbusy
17e2255472
Fixes #6363 , #8301 , #8582 , #9566 : Fixed data methods and PJAX issues when used together
9 years ago
SilverFire - Dima Naumenko
ef33422e65
Fixed #9924 - yii.js handleAction corrupted parameters with quote char
9 years ago
vbelogai
1d6a340534
Fixes #8161 : Fixed active form `data-method` submit bug when client validation is used
9 years ago
MaXL
af8c1f654d
Add missed semicolon
...
Add missed semicolon to setCsrfToken method
9 years ago
Alexander Makarov
e224568b49
Fixes #8014 : Fixed setting incorrect form "action" property after submitting a form using a link with "data-method" and containing "action" among "data-params"
10 years ago
Qiang Xue
7031020c63
Fixes #6661 : Hyperlinks that are enclosed within an exist form will use the same form for submission if they specify both of the `href` and `data-method` attributes
10 years ago
Qiang Xue
9c287cb651
Fixes #5663 and #5671 : Added support for using `data-params` to specify additional form data to be submitted via the `data-method` approach
10 years ago
usualdesigner
80cc9cc16f
Basic implementation of the data-params attributes
10 years ago
Qiang Xue
8809d422dc
Fixes #5005 : Added support to suppress loading the same CSS files in AJAX responses
10 years ago
Qiang Xue
1008249b54
Fixes incorrect submit button detection.
10 years ago
Qiang Xue
f1812210a8
Fixes #5768 : When setting `data-confirm` attribute to a submit button, clicking on the button would not trigger form submission
10 years ago
Qiang Xue
add2413e08
better way of generating html code.
10 years ago
Qiang Xue
8d082c11a1
Fixes #5050 .
10 years ago
Qiang Xue
b4c4b4053a
Fixes #3511 : Dropped `yii.allowAction()` and modified `yii.confirm()` in `yii.js` to support callbacks
10 years ago
Qiang Xue
262a77caca
Added `yii\web\Response::enableCsrfCookie` to support storing CSRF tokens in session
10 years ago
joni-jones
255bd33aff
Fixes #3934 : Added attr() method instead prop() to get valid action url.
10 years ago
Qiang Xue
ffa596f5f4
Fixes #3934 : yii.handleAction() in yii.js does not handle the case when a hyperlink is a hash character
10 years ago
Qiang Xue
4acab5c42d
fixed data-method.
11 years ago