Commit Graph

72 Commits

Author SHA1 Message Date
Nisarg Jhaveri
e115adb533 Page-related settings, rfe#1559
Signed-off-by: Nisarg Jhaveri <nisargjhaveri@gmail.com>
2015-05-18 20:38:07 +05:30
Madhura Jayaratne
7dcb353d1a Fix typo
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-26 11:39:46 +05:30
Madhura Jayaratne
207bb67f8f Prefix jQuery objects with $ - more instances
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-25 15:06:57 +05:30
Madhura Jayaratne
784e713077 Prefix jQuery object field with $
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-25 14:41:32 +05:30
Madhura Jayaratne
cf0b732d83 Prefix with $
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-24 16:34:49 +05:30
Madhura Jayaratne
bc0e028c98 Prefix jQuery object with $ - more instances
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-24 16:29:32 +05:30
Madhura Jayaratne
8b6dba36f4 Prefix jQuery objects with $
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-24 16:27:07 +05:30
Madhura Jayaratne
096c5d4ac0 Use .prop() in place of .attr() in appropriate places
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-12-04 11:39:45 +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
Hugues Peccatte
037a034b43 Minor coding style modifications.
Fix typos.
PHPDoc and JSDoc updates.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-02 14:04:35 +01:00
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
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
Michal Čihař
23359f4ba5 Use dot notation for accessing array members
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-06 19:51:14 +02:00
Piotr Przybylski
a75b5a6e2c Fix saving user preferences to configuration storage
'server' parameter was not passed, so it was broken when default server required authentication
added missing AJAX operation result check
2013-11-03 12:38:51 +01:00
Madhura Jayaratne
a2137e9305 Facilitate input fields of type 'number' 2013-10-08 07:16:07 +05:30
Michal Čihař
50deebcbdf Coding style: Bad line breaking before logical operators 2013-10-02 12:07:15 +02:00
Michal Čihař
acb997206e Add wrapper function for formatting datetime
This makes it easier to use and correctly converts params which
formatTime expects.
2013-07-08 14:44:16 +02:00
Michal Čihař
bd69fe5b66 Use jQuery.datepicker date formatting instead of own code 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ř
1d5539d3aa Better function names
Follow PEAR coding standard for function names.
2013-05-02 15:01:11 +02:00
Michal Čihař
4a56d001d6 Various javascript fixes
- replaced some (.. ? .. : .. ) with if for more readability
- missed escapin in some regexps
2013-04-26 09:29:04 +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ř
c2dca8ea70 Fix indentation 2013-04-16 11:41:55 +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
Michal Čihař
cc7bef87d5 Some forgotten === conversion 2013-04-15 12:14:26 +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
Gemorroj
fc51a91713 many some minor fixes (sorry, see diff) 2013-01-26 15:35:29 +03:00
Rouslan Placella
09fe4dcc58 Added microhistory metadata to some links 2012-11-25 20:37:36 +00:00
Marc Delisle
7c6fe60b35 Move code snippet to avoid binding events that we cannot unbind 2012-11-19 12:26:08 -05:00
Michal Čihař
b2031540be Use sprintf in javascript instead of manual replacing %s/%d 2012-11-15 16:07:29 +01:00
Marc Delisle
1518de6cdf Merge branch 'QA_3_5' 2012-11-12 12:44:15 -05:00
Marc Delisle
94fa51893a bug #3586389 [setup] Cannot switch language in /setup 2012-11-12 12:43:58 -05:00
Rouslan Placella
9e3a9ee52f Dropped main.php 2012-10-30 20:10:20 +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
Rouslan Placella
8b0f21aa0d Fixed user preferences export/import 2012-06-11 14:06:05 +01:00
Rouslan Placella
46de9ecf01 Fixed JS bug in user prefs 2012-06-11 14:06:03 +01:00
Michal Čihař
e6cca75875 Cleanup spacing after @param 2012-04-27 11:32:47 +02:00
Rouslan Placella
9c16704968 Speed-up selectors 2012-04-10 21:50:34 +01:00
Piotr Przybylski
d32bcb16c6 Better looking settings tabs in pmahomme 2011-09-20 13:02:30 +02:00
Michal Čihař
1ec0b69e6b Coding style, function definitions 2011-08-05 14:49:23 +02:00
Marc Delisle
29bb225b92 Must use .prop() instead of .attr() here 2011-06-19 07:55:02 -04:00
Marc Delisle
434d233e5b - vim modeline
- remove tab characters
2011-05-26 13:16:06 -04:00
Marc Delisle
89e54ceb3a These must now be accessed with .prop() 2011-05-26 13:01:06 -04:00