Commit Graph

39 Commits

Author SHA1 Message Date
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
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
Michal Čihař
9a56641d0d Document possible todo
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-19 12:40:14 +01:00
Michal Čihař
4f5a9e40a2 Coding style: line breaking before + 2013-10-02 11:45:46 +02:00
Marc Delisle
07d5d2faf2 Merge branch 'QA_4_0' 2013-08-24 08:58:38 -04:00
Marc Delisle
924d7b41eb Trying to load an older library 2013-08-24 08:57:22 -04: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ř
3a024d6e41 Merge commit 'f1299ad66571b94063515ce347e2ee5018b3bbc8' 2013-04-15 15:13:23 +02:00
Michal Čihař
a1b6f206b2 Various spacing and identation fixes 2013-04-15 15:13:14 +02:00
Michal Čihař
f1299ad665 Remove extra ; from code 2013-04-15 15:09:32 +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
Marc Delisle
ab75961279 js cleanup: space after "if" 2012-12-20 05:53:55 -05: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
72eea9161d Added an href attribute to links in the gis data editor 2012-10-30 20:04:52 +00:00
Madhura Jayaratne
3577f7fb3b Adjust spaces between labels 2012-09-04 21:33:17 +05:30
Rouslan Placella
a16e723048 Dropped PMA_ajaxResponse() 2012-06-11 17:58:35 +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
Dieter Adriaenssens
3a3da2987e add vim directive for indenting with spaces 2012-04-11 16:18:53 +02:00
Rouslan Placella
c985fec282 Drop non-JS version of the "GIS data editor" 2012-04-10 21:50:34 +01:00
Rouslan Placella
9c16704968 Speed-up selectors 2012-04-10 21:50:34 +01:00
Marc Delisle
a3edbfc1b1 Add parameter to strDoYouReally message for better translatability
Include jquery.sprintf.js everywhere
2012-04-09 08:20:45 -04: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
Madhura Jayaratne
604039279d Use non-minified jquery.event.drag-2.0.js during development 2012-04-04 21:43:27 +05:30
Rouslan Placella
12eacbffea Error notifications should not time out 2011-11-28 13:47:06 +00:00
Madhura Jayaratne
9d83d2fc35 Load jquery.sprintf.js on demand 2011-09-14 10:06:54 +05:30
Madhura Jayaratne
29a8f3f32c Load scripts from cache when they are available 2011-09-14 07:56:50 +05:30
Madhura Jayaratne
c1c81ed80a Load OpenLayers.js in a synchronous manner. 2011-09-13 21:52:52 +05:30
Madhura Jayaratne
e3bcd9f7cf JS files for gis_data_editor loaded dynamically 2011-09-13 08:31:10 +05:30
Michal Čihař
1b8018e436 Use format string for point number, otherwise the translation is wrong in some languages 2011-08-25 08:36:05 +02:00
Madhura Jayaratne
dc82360242 Prepares and insert GIS data to the input field on pressing 'enter' 2011-08-02 00:32:32 +05:30
Madhura Jayaratne
d3bd2d5d91 Refractor common code to gis_data_editor.js. Remove hidden input to track null checkbox. 2011-07-31 18:33:02 +05:30