Commit Graph

352 Commits

Author SHA1 Message Date
William Desportes
0d435e6e3f
Fix lint error and missed merge
See: 348f1fbd2e
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-03-02 22:32:37 +01:00
William Desportes
f0374250d3
Merge branch 'QA_4_8'
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-03-02 12:33:11 +01:00
William Desportes
2cf2959098
Fix: #14425 - Null Checkbox automatically unmarked
Fixes: #14425
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-03-02 12:21:58 +01:00
Kartik Kathuria
219df7a48f FixedError#14425 Null Checkbox automatically unmarked
Signed-off-by: Kartik Kathuria <kathuriakartik0@gmail.com>
2019-02-26 00:03:02 +05:30
Maurício Meneghini Fauth
9eba565bf4 Remove unnecessary HTML closing tags
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-12-19 00:12:54 -02:00
Maurício Meneghini Fauth
2936492555 Revert "Replace .focus() with .on()"
This reverts commit d18076eb96.

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-12 02:40:33 -03:00
Maurício Meneghini Fauth
d18076eb96 Replace .focus() with .on()
.focus() event shorthand is deprecated

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-12 02:17:51 -03:00
Maurício Meneghini Fauth
0ff776a6cf Replace .mousedown() with .on()
.mousedown() event shorthand is deprecated

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-12 01:15:28 -03:00
Maurício Meneghini Fauth
c0c233f8ef Replace .keydown() with .on()
.keydown() event shorthand is deprecated

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-12 00:36:24 -03:00
Maurício Meneghini Fauth
8f8e3c26c9 Replace .click() with .on()
.click() event shorthand is deprecated

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-11 23:58:35 -03:00
Maurício Meneghini Fauth
f4fedc20ee Replace .change() with .on()
.change() event shorthand is deprecated

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-11 20:45:36 -03:00
Maurício Meneghini Fauth
07591c963c Replace .mouseenter() with .on()
.mouseenter() event shorthand is deprecated

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-11 20:45:36 -03:00
Saksham Gupta
d701f6f0af Remove font size feature (#13925)
Fix #13919

Signed-off-by: Saksham Gupta <shucon01@gmail.com>
2018-04-14 07:21:13 -03:00
Thomas Wong
4a5ae16eff Fix textarea failed to popup (issue #13518)
Signed-off-by: Thomas Wong <ufosaga@gmail.com>
2018-02-09 10:13:56 +08:00
Maurício Meneghini Fauth
ef99fef8d6 Change ESLint's eqeqeq to error
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-25 21:30:14 -03:00
Maurício Meneghini Fauth
97323989cb Change ESLint's brace-style to error
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-25 17:58:45 -03:00
Maurício Meneghini Fauth
00e1ca9b66 Automatic fixes by ESLint
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-25 14:22:35 -03:00
Madhura Jayaratne
bf08e0ab6d Merge branch 'QA_4_7' 2017-08-29 23:33:43 +10:00
Madhura Jayaratne
047de9cdf4 Merge branch 'QA_4_7' of github.com:phpmyadmin/phpmyadmin into QA_4_7 2017-08-29 23:27:22 +10:00
Madhura Jayaratne
f4d77f905d Fix #13177 Grid editing repeats action after error
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2017-08-29 23:25:14 +10:00
Michal Čihař
ff84a36e09 Merge branch 'QA_4_7' 2017-07-17 16:57:23 +02:00
Michal Čihař
6a3d51e084 Make hex inline editor accept 0x at the begining
Issue #13387

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-17 16:52:49 +02:00
Michal Čihař
0ded26965b Merge pull request #13317 from manishbisht/json-editor
JSON data shown in JSON format while editing
2017-06-28 17:01:26 +03:00
J.M
0950bd9bdb Make grid editor NULL checkbox text clickable
So you can click the text "NULL" in addition to the checkbox itself.

Signed-off-by: J.M <jm@jublo.net>
2017-06-24 11:32:59 +02:00
Manish Bisht
bae477477b data shown in JSON format if the data-type is json
Signed-off-by: Manish Bisht <manish.bisht490@gmail.com>
2017-06-15 23:00:43 +05:30
Michal Čihař
f7bb752573 Automatically add token to all AJAX requests
This way we don't have to do the same in every AJAX request, it can be
done just once in shared handler.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-06-13 11:45:40 +02:00
Madhura Jayaratne
ea5640fd9c Merge branch 'QA_4_7' 2017-05-17 23:43:32 +10:00
Madhura Jayaratne
660123d228 Fix #13177 Grid editing repeats action after error
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2017-05-17 23:41:56 +10:00
Gemorroj
6d2bf012d2 Simplify HTML: <input></input> -> <input />
Signed-off-by: Gemorroj <wapinet@gmail.com>
2017-04-28 16:09:20 +02:00
Dan Ungureanu
1ca19f0ac1 Replaced deprecated jQuery calls.
'bind' and 'unbind', 'delegate' and 'undelegate' have been deprecated in
favor of 'on' and 'off'.

Partially fixes #13166.

Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2017-04-10 13:06:32 +03:00
Michal Čihař
91a16c90c8 Fixed editing of rows with text primary key
We do htmlspecialchars in PHP, so we should not URL de/encode here.

Fixes #13088

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-16 15:12:38 +01:00
Michal Čihař
55880451eb Always use \r\n as newline when editing fields
Convert \n to \r\n during inline editing to be consistent with form submitted
value.

The internal browser representation has to be just \n while form submitted
value \r\n, see specification:

https://www.w3.org/TR/html5/forms.html#the-textarea-element

Fixes #12918

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-01-23 16:28:13 +01:00
Michal Čihař
c77d8cff25 Do not use deprecated $.parseJSON
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-21 14:27:39 +01:00
Deven Bansod
c2f7f82a98 If date is invalid acc to datePicker plugin, close the UI
There are partial dates like '0000-00-00', '2016-00-00' etc. which are
rejected by the Datetimepicker JQuery plugin, but can be accepted by MySQL server

Fix #12651

Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-10-26 21:29:54 +05:30
flash1452
0d8085c070 Fix #11864 Move noSelect mehthod to makegrid.js
Signed-off-by: Vishal Pandey <vishpandey2014@gmail.com>
2016-02-03 14:06:51 +01:00
Michal Čihař
cd1d926a57 Remove unused variable
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-03 13:56:58 +01:00
Michal Čihař
c3e057b942 Remove unused parameters
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-03 13:56:15 +01:00
Madhura Jayaratne
723b4bdfbe Fix #11846 Grid editing window is disabled the second time
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2016-01-12 20:21:12 +11:00
Michal Čihař
7dd415776a Remove unused parameters
Signed-off-by: Michal Čihař <michal@cihar.com>
2015-12-22 09:17:51 +01:00
Deven Bansod
393f0cfc21 Merge branch 'QA_4_5' 2015-12-21 18:28:44 +05:30
Deven Bansod
fe5f69c401 Prevent unnecessary update when nothing is changed
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2015-12-21 18:27:03 +05:30
Michal Čihař
5abdf6886b Merge remote-tracking branch 'origin/QA_4_5' 2015-12-21 11:16:39 +01:00
Deven Bansod
0b64ff7f72 Fix #11724 : live data edit of big sets is not working
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2015-12-21 13:53:03 +05:30
Hugues Peccatte
ff4517ca60 Remove useless variables and simplify code.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-12-11 22:36:54 +01:00
Madhura Jayaratne
000d679d63 Merge branch 'QA_4_5' 2015-12-10 07:07:28 +11:00
Madhura Jayaratne
269fcd2a54 issue #11724 Temporary fix for live data edit of big sets is not working
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-12-10 07:01:42 +11:00
Nisarg Jhaveri
296caced73 Add grid-edit update query only to last query result box
Signed-off-by: Nisarg Jhaveri <nisargjhaveri@gmail.com>
2015-11-30 01:07:34 +05:30
Marc Delisle
db19812acf Merge branch 'QA_4_4' 2015-08-05 09:46:18 -04:00
Dan Ungureanu
bbd581a906 Fixes #11320.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-08-05 09:43:14 -04:00
Madhura Jayaratne
805b0d7860 Fix #11322 Missing null checkbox when grid editing a null cell
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-27 12:29:26 +05:30