Commit Graph

57 Commits

Author SHA1 Message Date
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
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
Michal Čihař
f4026f60a4 Merge branch 'QA_4_7' 2018-03-01 16:02:57 +01:00
Michal Čihař
984c6a0054 Honor arg_separator in AJAX requests
Fixes #13940

Signed-off-by: Michal Čihař <michal@cihar.com>
2018-03-01 15:50:41 +01:00
Michal Čihař
2bb01ef0a7 Share code for row filtering
Make it generic so that it works in most cases and fixes does not have
to be implemented multiple times.

Issue #13517

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-30 11:25:51 +01:00
Michal Čihař
b0421d7d8c Merge branch 'QA_4_7' 2017-10-30 10:28:23 +01:00
Michal Čihař
7a17da0f57 Fixed check all interaction with filtering
- check all select only filtered rows
- the hidden rows are automatically unselected
- the check all state is updated according to filtering

Fixes #13517

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-30 10:26:03 +01:00
Maurício Meneghini Fauth
3a00dd69a5 Change ESLint's one-var to error
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-25 22:46:20 -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
Manish Bisht
238d0c278b removed inline onclick javascript
Signed-off-by: Manish Bisht <manish.bisht490@gmail.com>
2017-07-23 21:54:02 +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
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
e732f583d2 Fix drop database - token parameter is required as POST param
Fix #12854

Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2017-01-04 13:10:06 +05:30
Patric Gustafsson
aa764e1ea3 Remove odd CSS class logic from JS and PHP files
Odd CSS class is no longer needed, background coloring
now done with CSS pseudo-class.

Signed-off-by: Patric Gustafsson <patricjgustafsson@outlook.com>
2016-08-24 12:48:52 +03:00
Durgesh
d798809215 Filtering databases on databases listing, Issue #12047
Signed-off-by: Durgesh <007durgesh219@gmail.com>
2016-03-03 16:21:15 +05:30
Madhura Jayaratne
0a2b037706 merge db_create.php into ServerDatabasesController
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-11-24 20:41:40 +11:00
Marc Delisle
5bad4dab82 Fixes #11495 'PMA_Microhistory' is undefined
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-09-24 09:27:17 -04:00
Madhura Jayaratne
e35450746b Merge branch 'QA_4_4'
Conflicts:
	js/server_databases.js
2015-08-07 07:35:41 +05:30
Madhura Jayaratne
e21c3c90b1 Fix #11364 JS error while trying to auto navigate to db structure page when db creation has failed
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-07 07:32:17 +05:30
Atul Pratap Singh
9b101e2ab7 Separate microhistory code conditionally
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
2015-07-09 10:32:55 +05:30
Marc Delisle
154d723659 Fix inspection issues
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-02-15 06:45:26 -05:00
Pranav Sharma
c0bad9103e rfe #1605 After database creation, go to database structure page
Signed-off-by: Pranav Sharma <vanarpsharma@gmail.com>
2015-02-15 06:12:09 -05:00
Madhura Jayaratne
d03c3adff4 More instances of .live() and .die() replaced with .on() and .off()
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-12-02 18:07:58 +05:30
Madhura Jayaratne
410d1c32df .live() and .die() methods are deprecated. Use .on() and .off() methods instead
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-12-02 17:07:46 +05:30
Atul Pratap Singh
c70e109bd6 Feature#1546 Replace js sprintf library with a better one
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
2014-10-03 17:08:25 +05:30
Atul Pratap Singh
6c83a2f2e3 Merge commit 'a020eac11a26977295cf2439ddd2e5b4af2c88fe'
Conflicts:
	js/config.js
	js/db_search.js
	js/functions.js
	js/makegrid.js
	js/server_privileges.js
	js/tbl_structure.js
2014-10-01 20:42:21 +05:30
Atul Pratap Singh
a020eac11a Add js checks in multiple files if data is undefined
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
2014-10-01 10:00:54 +05:30
Ann + J.M
43d1239583 Code style fixes
Signed-off-by: Ann + J.M <phpMyAdmin@ZweiSteinSoft.de>
2014-05-24 16:48:53 +02:00
Marc Delisle
2f3e7c63ef Merge branch 'QA_4_0' 2013-10-05 17:45:59 -04:00
Marc Delisle
98aeddc71e bug #4108 Missing refresh by deleting databases 2013-10-05 17:44:51 -04:00
J.M
65a4889a0f Add HTML5 required, placeholder attributes 2013-08-18 15:37:53 +02:00
J.M
6c8777f604 Don't use id attribute for checkall boxes, use class name 2013-05-01 16:43:23 +02:00
Michal Čihař
cacf765dba Fix line breaks before + 2013-04-26 09:35:15 +02:00
Michal Čihař
27b213431c Reference javascript messages by dot notation instead of using ['strFoo'] 2013-04-16 13:32:51 +02:00
Michal Čihař
e2571c5628 Various javascript spacing fixes 2013-04-15 16:20:04 +02:00
Michal Čihař
a1b6f206b2 Various spacing and identation fixes 2013-04-15 15:13:14 +02:00
Michal Čihař
502165de66 Explicitly define radix for parseInt
This prevents unexpected behavior when parsing string like 033, which
would be treated as octal.
2013-04-15 12:05:44 +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
Marc Delisle
2723495a4f Removed the AjaxEnable directive 2012-12-21 16:04:57 -05:00
Marc Delisle
ab75961279 js cleanup: space after "if" 2012-12-20 05:53:55 -05:00
Rouslan Placella
9c280588c1 Tear down correct event handler 2012-11-04 23:05:00 +00:00
Rouslan Placella
9e4d200141 Wrap notice in a styled div 2012-11-04 23:02:01 +00:00
Rouslan Placella
be231714c2 Fixed drop databases form submission 2012-11-04 22:56:21 +00:00
Rouslan Placella
d5db9dfc30 Implemented refreshing of the navigation 2012-10-30 20:10:21 +00: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
Marc Delisle
be434a8b05 The new "check all" checkbox should not be used to find a database name for dropping purposes 2012-06-25 07:52:19 -04:00
Rouslan Placella
8e51382fcd Drop dead code 2012-06-15 20:37:41 +01:00