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
2017-12-01 10:30:41 +02:00
be211f76f5
Removed debug statement [skip ci]
2017-10-06 21:59:29 +02:00
7e681b4a56
Fixed yii.js to follow jquery-pjax API changes
...
Fixes #14926
2017-10-06 12:19:13 +03:00
0e240ef2d0
Container type for pjax must be string
2017-10-04 18:41:39 +03:00
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
2017-08-21 01:58:49 +03:00
b00cd65ef3
Fixes #13738 : Fixed getQueryParams()
method in yii.js
to correctly parse URL with question mark and no query parameters
2017-03-16 14:15:05 +03:00
6b8cf1709e
Fixes #13306 : Wildcard in reloadableScripts
in yii.js
allows 0 characters
2017-02-18 22:01:01 +03:00
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 .
2017-01-25 11:00:13 +03:00
7b5efe5161
Enhanced handleAction()
in yii.js
...
Closes #12737
2016-12-17 10:17:30 +02:00
9807b2e1a1
Follow-up to 65c2ade. Smarter fix of #13118
2016-12-02 10:09:08 +02:00
65c2ade8ed
Fixed handleAction()
function in yii.js
to handle attribute data-pjax=0
as disabled PJAX
...
Fixes #13118
2016-12-02 10:04:59 +02:00
6f4c52a53d
Simplified Regex usage in JS
...
Follows 70752b0fc1dde9a32d3565759d77072d3187f4eb
2016-11-05 21:07:05 +02:00
70752b0fc1
Fixes #11037 : yii.js and yii.validation.js should use Regexp.test instead of String.match ( #12839 )
2016-10-26 10:44:08 +03:00
17df7577a5
Fixed URI component decoding with +
(plus) sign
...
Fixes #11921
2016-10-16 10:05:45 +03:00
1ab204e481
Fixed race condition in yii.js ajax prefilter
...
Closes #10358
2016-10-14 15:37:28 +03:00
2d84f72e52
Reverted mis-paste during mege
2016-10-05 11:45:37 +03:00
76ced661b2
DetailView captionOptions & contentOptions attributes
2016-10-05 11:43:21 +03:00
32f42e3fa6
Allow wildcards for reloadble CSS files
2016-10-01 22:04:52 +03:00
ea0c6d7a1a
yii.reloadableScripts
now support wildcards with *
character
...
Closes #11494
2016-09-30 13:08:14 +03:00
3d4ab267b9
Issue #12580 Make yii.js comply to js strict mode
2016-09-24 10:46:36 +02:00
cc102294f8
Simplify ready callback ( #11749 )
2016-06-13 00:22:06 +02:00
8757088f5f
yii.js
- fixed getQueryParams()
function to handle URLs with anchors correctly
...
Closes #11066
2016-03-20 17:05:13 +02:00
be44d265e2
Fix accidental getResponseHeader()
fails
2016-02-26 15:06:24 +03:00
9b554b065d
Merge remote-tracking branch 'upstream/master' into enh-link-submission-form-attribute-9893
2016-02-25 10:49:10 +00:00
25b1178515
Implemented data-form support.
2015-12-03 16:01:11 +00:00
b6b2befb00
Fix cutting of url params with the same name upon filtering
2015-12-03 00:33:57 +02:00
cd87d67f34
Global DOCS update: ~~~ replaced with ```
2015-12-02 23:15:28 +02:00
f2039c2b4a
Unable to get target DOM element in pjax events upon deletion grid row
2015-11-28 17:29:01 +02:00
a301d7154a
Enh #10267 : yii.js
- added original event passing to pjaxOptions
for links with data-method
and data-pjax
2015-11-27 21:08:53 +02:00
69ceccc213
Closes #10264 : Generating of HTML tags in in yii.* JS redone in jQuery style
2015-11-27 12:53:14 +02:00
c8fae603b0
yii.js - handleMethid() - added passing of data-options pushRedirect, replaceRedirect, skipOuterContainers to PJAX
2015-11-27 12:35:08 +02:00
84d6fce5de
yii.js - minor, variable renamed
2015-11-27 12:09:40 +02:00
a349c1ee1b
Changed yii.confirm context bind
2015-11-17 09:27:35 +02:00
17e2255472
Fixes #6363 , #8301 , #8582 , #9566 : Fixed data methods and PJAX issues when used together
2015-10-19 11:31:07 +03:00
ef33422e65
Fixed #9924 - yii.js handleAction corrupted parameters with quote char
2015-10-15 09:02:19 +03:00
1d6a340534
Fixes #8161 : Fixed active form data-method
submit bug when client validation is used
2015-07-27 18:53:40 +03:00
af8c1f654d
Add missed semicolon
...
Add missed semicolon to setCsrfToken method
2015-07-01 13:54:34 +10:00
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"
2015-04-08 03:17:42 +03:00
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
2015-01-16 22:09:28 -05:00
9c287cb651
Fixes #5663 and #5671 : Added support for using data-params
to specify additional form data to be submitted via the data-method
approach
2015-01-14 22:18:05 -05:00
80cc9cc16f
Basic implementation of the data-params attributes
2015-01-14 21:52:02 -05:00
8809d422dc
Fixes #5005 : Added support to suppress loading the same CSS files in AJAX responses
2014-12-06 10:09:47 -05:00
1008249b54
Fixes incorrect submit button detection.
2014-11-08 08:52:27 -05:00
f1812210a8
Fixes #5768 : When setting data-confirm
attribute to a submit button, clicking on the button would not trigger form submission
2014-11-07 10:29:04 -05:00
add2413e08
better way of generating html code.
2014-11-06 11:16:14 -05:00
8d082c11a1
Fixes #5050 .
2014-09-16 14:15:32 -04:00
b4c4b4053a
Fixes #3511 : Dropped yii.allowAction()
and modified yii.confirm()
in yii.js
to support callbacks
2014-09-06 20:03:36 -04:00
262a77caca
Added yii\web\Response::enableCsrfCookie
to support storing CSRF tokens in session
2014-09-04 12:20:09 -04:00
255bd33aff
Fixes #3934 : Added attr() method instead prop() to get valid action url.
2014-06-19 11:33:21 +03:00
ffa596f5f4
Fixes #3934 : yii.handleAction() in yii.js does not handle the case when a hyperlink is a hash character
2014-06-17 21:26:19 -04:00