Maurício Meneghini Fauth
1a14b3e4d3
Remove vim modelines
...
These settings are no longer required as they are guaranteed through
other coding standard tools.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-09-02 09:43:21 -03:00
Maurício Meneghini Fauth
69d279d68c
Use the router for the table replace page
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-15 20:30:43 -03:00
Maurício Meneghini Fauth
208b0e25e1
Use the router for the sql pages
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-03 21:25:27 -03:00
William Desportes
6ecf6ec93e
Fixed most of deprecated Jquery calls
...
\.(blur|focus|focusin|focusout|resize|scroll|click|dblclick|mousedown|mouseup|mousemove|mouseover|mouseout|mouseenter|mouseleave|change|select|submit|keydown|keypress|keyup|contextmenu)\(\)
Ref: #13173
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-06-24 21:54:23 +02:00
Maurício Meneghini Fauth
0a16b56ace
Disallow variable redeclaration in JavaScript files
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-06-06 23:58:48 -03:00
Maurício Meneghini Fauth
4260eb0a73
Remove empty blocks in JavaScript files
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-06-06 23:33:30 -03:00
Maurício Meneghini Fauth
3b50a194e7
Remove unused variables in JavaScript files
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-06-06 22:31:33 -03:00
Maurício Meneghini Fauth
c4e4d30300
Fix undefined variables in some JavaScript files
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-06-05 22:53:29 -03:00
Maurício Meneghini Fauth
c8dd8660a0
Replace jQuery .bind() with .on()
...
As of jQuery 3.0, .bind() has been deprecated.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-05-31 14:46:23 -03:00
Maurício Meneghini Fauth
f4561232b5
Fix ESlint warnings in js/makegrid.js
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-05-29 20:49:17 -03:00
Maurício Meneghini Fauth
1ca7fb31e4
Add Sql module to js/sql.js
...
To reduce the number of global variables
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-05-28 17:52:43 -03:00
Maurício Meneghini Fauth
23463d0161
Rename js/makegrid.js variables to use camel case
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-05-27 01:36:06 -03:00
Maurício Meneghini Fauth
70d2295f58
Remove unnecessary escape usage
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-05-24 22:31:15 -03:00
Maurício Meneghini Fauth
ce71901de5
Refactor js/functions.js to use a module
...
Adds Functions module in js/functions.js to reduce the number of global variables.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-05-22 17:44:21 -03:00
Maurício Meneghini Fauth
562b5a48f0
Remove PMA_ from PMA_commonParams and PMA_commonActions names
...
PMA_commonParams => CommonParams
PMA_commonActions => CommonActions
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-05-21 00:18:44 -03:00
Maurício Meneghini Fauth
ea2d5a0d87
Rename PMA_messages JS global variable to Messages
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-05-20 23:58:23 -03:00
William Desportes
b851f9d1fc
Merge branch 'QA_4_8'
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-05-04 14:41:45 +02:00
William Desportes
821dce6c80
Fix #14301 - Javascript error when editing a JSON data type column
...
Fixes : #14699
Fixes : #14301
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-05-04 14:34:30 +02:00
William Desportes
c793b998a7
ESLINT fixes
...
Make eslint green for CI
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-03-30 08:30:48 +01:00
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