1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-29 21:24:44 +03:00
Commit Graph

49 Commits

Author SHA1 Message Date
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
Rouslan Placella
11a5cd8194 Validate database name on client side when creating one 2012-06-15 20:37:41 +01:00
Rouslan Placella
ee5ffd8df6 Moved 'create database' ajax handler back to server_databases.js, since it's no longer required on main.php 2012-06-15 20:37:41 +01:00
Rouslan Placella
aac6a9e5bd Don't refresh the whole list when dropping databases in server_databases.php
(Avoids pointless AJAX request)
2012-06-15 20:37:41 +01:00
Rouslan Placella
971db49c11 Expect JSON for every ajax request in JavaScript 2012-06-11 14:06:05 +01:00
Rouslan Placella
ff66fdbdf9 Remove stray trailing whitespaces 2012-04-22 00:12:30 +01:00
Jo Michael
13644d8591 Short-hand notation for jQuery document.ready event 2012-04-21 02:44:18 +02:00
Jo Michael
62b2d09da1 Delete databases with Ajax 2012-04-21 02:13:48 +02:00