Lakshay arora
85c975f27f
Fix for issue #13439
...
Problem 1:
The number of td elements in the zoom search form table were insufficient, due to which, the field_type(element #types_$) was getting replaced with field_value(element td:eq(3))(see ./js/tbl_zoom_jqplot.js lines 164, 188, 211, 232). Added a td element in the table for each row.
Problem 2:
The events attached to 'tableid_$' were inserting the values in wrong tr elements(see ./js/tbl_zoom_jqplot.js lines 185-188, 208-211, 229-232), leading to wrong values being passed to the zoom search.
Signed-off-by: Lakshay arora <b16060@students.iitmandi.ac.in>
2018-03-29 15:30:39 -03: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
Michal Čihař
70c3918a6e
Remove unused code
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-01-18 09:30:55 +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
Atul Pratap Singh
e14ba6d7ba
Merge branch 'QA_4_5'
2016-01-15 10:08:43 +05:30
Atul Pratap Singh
61e5d5f47b
Fix #11860 : TypeError: e.handler.apply is not a function
...
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
2016-01-15 10:04:23 +05:30
Hugues Peccatte
c721815dc2
Convert array declaration in JS.
...
Remove useless code.
Remove useless declarations.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-12-11 22:50:24 +01:00
Atul Pratap Singh
6074ee5afc
Merge pull request #11425 from Tithugues/improveJquerySelectors_master
...
Improve jQuery selectors
2015-08-25 17:42:43 +05:30
Madhura Jayaratne
8d22e3ab76
Use a proper dialog for instructions
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-25 13:40:39 +10:00
Hugues Peccatte
a190826020
Improve jQuery selectors.
...
Remove duplicated selectors.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-24 21:06:27 +02:00
Madhura Jayaratne
42a4088943
More local variables
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-02 22:52:09 +05:30
Madhura Jayaratne
070bb05212
Merge branch 'QA_4_3' into QA_4_4
2015-03-19 14:50:17 +05:30
Madhura Jayaratne
8f1bd009b0
bug #4810 Broken find and replace
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-03-19 14:48:47 +05:30
Dan Ungureanu
102cd3c273
BUG #4791 . Zoom search: JavaScript error
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-03-10 07:29:17 +05:30
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
c397c9f2bb
Use div id sqlqueryresultsouter in table search since sqlqueryresults clashes with the results returned
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-11-28 12:29:07 +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
Marc Delisle
bc14e8e24a
Avoid empty block notices
...
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-08-03 08:01:32 -04:00
Ann + J.M
0676121253
Fix coding style
...
Signed-off-by: Ann + J.M <phpMyAdmin@ZweiSteinSoft.de>
2014-06-29 18:44:09 +02:00
Hugues Peccatte
40def1a7a2
Fix 'function declaration in loop' scrutinizer errors.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-06-19 21:42:59 +02:00
Marc Delisle
68c42a9738
bug #4383 Cannot update values in Zoom search
...
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-05-03 09:44:54 -04:00
Michal Čihař
424e2ee75b
Coding style: use type safe comparing for blank values
2013-10-02 11:45:46 +02:00
Michal Čihař
1bb39b0eff
Various coding style improvements
2013-07-30 14:36:43 +02:00
Marc Delisle
c1d7d986f4
Comparison does not work when the array element does not exist, leading to an incorrect sql query generated
2013-07-22 09:46:13 -04:00
Michal Čihař
c9ad6292a1
Use jQuery UI for parsing date strings
2013-07-08 11:26:29 +02:00
xmujay
9eb23b5aec
fix some JSLint error: using dot notation
2013-05-05 20:49:15 +08:00
Michal Čihař
b5d3b8c7b8
Declare variables just once
...
Variables should be declared just once in a function.
2013-04-16 17:26:08 +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ř
c935413fcc
Various javascript fixes
...
- missing ;
- confusing !
2013-04-15 14:10:53 +02:00
Michal Čihař
e6517db98a
More javascript cleanup, more fixes of === / !===
2013-04-15 13:25:50 +02:00
Gemorroj
fc51a91713
many some minor fixes (sorry, see diff)
2013-01-26 15:35:29 +03:00
Marc Delisle
8cf17cee5e
Missing method
2012-11-09 08:13:39 -05:00
Michal Čihař
fa664fc0d3
Fix syntax error
2012-10-31 12:05:29 +01:00
Rouslan Placella
7356b407ad
Rewrite and integration of js/common.js
2012-10-30 20:23:59 +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
Atul Pratap Singh
cd6f0d7ad7
Merge branch 'QA_3_5'
2012-09-10 05:58:23 +00:00
Atul Pratap Singh
fe69e4b737
Make chart background transparent in zoom search
2012-09-10 05:57:29 +00:00
Madhura Jayaratne
c49a5df9a3
Remove tabs and trailing white spaces
2012-08-30 22:03:07 +05:30
Rouslan Placella
a16e723048
Dropped PMA_ajaxResponse()
2012-06-11 17:58:35 +01:00
Atul Pratap Singh
0fbe20103f
Fix mangled datalabels bug(zoom search) in case of chromium browser
2012-06-11 16:46:41 +05:30
Atul Pratap Singh
d7ab56f37b
Fix zoom search point edit bug
2012-06-11 15:52:43 +05:30