Commit Graph

35 Commits

Author SHA1 Message Date
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
4fd359e1a3 Add eslint-plugin-no-jquery and fix jQuery deprecated functions
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-06-07 02:29:31 -03:00
Maurício Meneghini Fauth
6251bf03d9 Rename replication.js variables to use camel case
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-05-29 19:51:38 -03:00
Maurício Meneghini Fauth
d99991f43f Rename PMA_confirm and PMA_sort_table jQuery functions
Renames to confirm and sortTable.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-05-26 20:59:59 -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
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
Dhruv Gupta
0db80bf132 [REFACTOR] Removed unused variables and added file description comments (#15173)
Signed-off-by: Dhruv Gupta <gdhruv167@gmail.com>
2019-05-08 23:22:07 -03:00
William Desportes
30292fc351
Merge branch 'QA_4_8'
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-03-30 12:29:07 +01:00
William Desportes
144d53177f
Fix 'RESET SLAVE' button on replication slave
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-03-30 11:09:20 +01: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
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
00e1ca9b66 Automatic fixes by ESLint
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-25 14:22:35 -03:00
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
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
Deven Bansod
4977f142f1 Fix token mismatch errors in replication and routines
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-09-02 13:43:08 +05:30
Madhura Jayaratne
cc4c615720 Fix #11548 Confirm box on "Reset slave" option
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-10-09 10:06:49 +11:00
Madhura Jayaratne
31d29835e9 Add select all to database selector in replication gui
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-06-09 10:53:55 +05:30
Madhura Jayaratne
7902535a12 bug #4950 Issues in database selection for replication
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-06-09 10:43:46 +05:30
Michal Čihař
a1b6f206b2 Various spacing and identation fixes 2013-04-15 15:13:14 +02:00
Michal Čihař
020a3e1ce4 Use type cast safe comparison
The values like true, '' or 0 could compare to lot of other stuff with
type casting.
2013-04-15 12:03:11 +02:00
Dieter Adriaenssens
19a0a406b5 fix coding style : remove tab characters 2013-03-14 11:40:33 +01:00
Dirk-jan
eae3a030f7 Fix replication pages to use correct mysql config syntax 2013-03-13 13:28:36 +01:00
Rouslan Placella
3ca7d34240 Destroy registered jQuery events on page tear down 2012-10-30 20:07:01 +00:00
Rouslan Placella
5838a44339 Use AJAX.registerOnload() instead of $(document).ready() 2012-10-30 20:07:01 +00:00
Jo Michael
13644d8591 Short-hand notation for jQuery document.ready event 2012-04-21 02:44:18 +02:00
Gemorroj
8bdca339f6 Better compatibility with newer versions of jQuery.
Method of "attr" changed to "prop", method of "removeAttr" changed to "removeProp", attr("value" is replaced by the method of "val".
2012-04-07 14:27:28 +03:00
Marc Delisle
33635fbe19 Merge branch 'QA_3_4' into QA_3_5 2012-02-18 07:17:20 -05:00
Michal Čihař
86073d532a Do not put database names as html 2012-02-16 15:22:42 +01:00
Michal Čihař
1ec0b69e6b Coding style, function definitions 2011-08-05 14:49:23 +02:00
Michal Čihař
d17fba309c Fix permissions.
Most files were made executable somewhere in ninadsp tree, reverting
this.
2010-08-30 09:53:37 +02:00
ninadsp
bed1948d04 testing git setup - no major change made in code yet
only added a few comments
2010-05-23 01:22:01 +05:30
Michal Čihař
2142f5f70b Rewrite generating master configuration.
- Avoid code duplication.
- Fix case when user unselected all databases.
2010-04-09 16:09:29 +02:00
Marc Delisle
6b5f3b9962 finish conversion of Replication feature from Mootools to jQuery 2010-04-05 09:09:35 -04:00
Marc Delisle
5c26356379 start porting Replication to jQuery 2010-04-02 18:57:28 -04:00