File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -202,19 +202,19 @@ public function run()
202
202
'tabindex ' => $ this ->tabindex ,
203
203
'callback ' => new JsExpression ('function (response) {
204
204
document.getElementById(" ' . $ id . '-input").value = response;
205
- var userCallback = ' . Json::encode ($ this ->callback ). ';
205
+ var userCallback = ' . Json::encode ($ this ->callback ) . ';
206
206
if (userCallback) {
207
207
userCallback.call(this, response);
208
208
}
209
209
} ' ),
210
210
'expired-callback ' => new JsExpression ('function () {
211
- var userCallback = ' . Json::encode ($ this ->expiredCallback ). ';
211
+ var userCallback = ' . Json::encode ($ this ->expiredCallback ) . ';
212
212
if (userCallback) {
213
213
userCallback.call(this);
214
214
}
215
215
} ' ),
216
216
'error-callback ' => new JsExpression ('function () {
217
- var userCallback = ' . Json::encode ($ this ->errorCallback ). ';
217
+ var userCallback = ' . Json::encode ($ this ->errorCallback ) . ';
218
218
if (userCallback) {
219
219
userCallback.call(this);
220
220
}
Original file line number Diff line number Diff line change 58
58
if ($ request ->isPjax ) {
59
59
$ this ->registerJs ($ jsCallbackName . '(); ' , View::POS_END );
60
60
}
61
-
You can’t perform that action at this time.
0 commit comments