| This is an automatically generated e-mail. To reply, visit: http://reviews.comics.org/r/1027/ |
I still don't really like the additional file for IE < 9, we don't necessarily need to add this functionality for the older browsers which disappear anyway in time. So I would prefer to remove it. If you can answer my other question ? Otherwise I would like to have the footer actually as the last part of the page, after body. If I am not mistaken this is where javascript should be put, so that it doesn't hinder the loading of the rest.
| /pydjango/media/js/oi/revision_form_utils.js (Diff revision 1) | |||
|---|---|---|---|
None |
{'text': 'function parsePubDate (pubDate) {', 'line': 44} |
||
| 94 | |||
// Disable form submission with Enter for barcode field |
| 95 | $('#id_barcode').keypress(function (e) { |
||
|---|---|---|---|
| 96 | if (e.which == 13) { |
||
| 97 | return false; |
||
| 98 | } |
||
| 99 | }); |
Is the separate handling for IE is not necessary anymore ?
- Jochen
On August 30th, 2012, 12:01 a.m., Alexandros Diamantidis wrote:
|
Review request for GGD Tech Group.
|
By Alexandros Diamantidis.
Updated Aug. 30, 2012, 12:01 a.m. Description |
|
Testing |
|
Bugs:
684
Diffs
|
--
GCD-Tech mailing list - gcd-...@googlegroups.com
To unsubscribe send email to gcd-tech+u...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/gcd-tech
| This is an automatically generated e-mail. To reply, visit: http://reviews.comics.org/r/1027/ |
On October 2nd, 2012, 8:59 p.m., Jochen G. wrote:
I still don't really like the additional file for IE < 9, we don't necessarily need to add this functionality for the older browsers which disappear anyway in time. So I would prefer to remove it. If you can answer my other question ? Otherwise I would like to have the footer actually as the last part of the page, after body. If I am not mistaken this is where javascript should be put, so that it doesn't hinder the loading of the rest.
Sorry for dragging my feet on this... I intend rework it a bit and submit an updated request. I'll move the JS loading as you indicated and use a different jQuery plugin for the input events - see: http://whattheheadsaid.com/projects/input-special-event - if you read the comments there, you'll see that even IE9 has some problems with input events and this tries to work around them.
On October 2nd, 2012, 8:59 p.m., Jochen G. wrote:
/pydjango/media/js/oi/revision_form_utils.js (Diff revision 1) None{'text': 'function parsePubDate (pubDate) {', 'line': 44}94 // Disable form submission with Enter for barcode field95 $('#id_barcode').keypress(function (e) {96 if (e.which == 13) {97 return false;98 }99 });Is the separate handling for IE is not necessary anymore ?
Yes, the nice thing about jQuery's keypress events is that they normalize the property that holds they key - so no separate handling needed.
- Alexandros
On August 30th, 2012, 12:01 a.m., Alexandros Diamantidis wrote:
|
Review request for GCD Tech Group. |
| This is an automatically generated e-mail. To reply, visit: http://reviews.comics.org/r/1027/ |
|
Review request for GCD Tech Group.
By Alexandros Diamantidis.
|
Updated Oct. 5, 2012, 12:17 p.m. Changes
Description |
|
Testing |
|
Bugs:
684
Diffs (updated)
|
| This is an automatically generated e-mail. To reply, visit: http://reviews.comics.org/r/1027/ |
Hmm, you forgot the new files, or ? And btw, the updates of the existing jquery thingies don't need to be in the review, it's not like we are reviewing them. The one new external one is of some interest, since we add it, but a link to a webpage or so would also be fine.
- Jochen
On October 5th, 2012, 12:17 p.m., Alexandros Diamantidis wrote:
|
Review request for GCD Tech Group.
By Alexandros Diamantidis.
Updated Oct. 5, 2012, 12:17 p.m. |
Description |
Testing
Bugs:
684
Diffs |
| This is an automatically generated e-mail. To reply, visit: http://reviews.comics.org/r/1027/ |
On October 5th, 2012, 11:57 p.m., Jochen G. wrote:
Hmm, you forgot the new files, or ? And btw, the updates of the existing jquery thingies don't need to be in the review, it's not like we are reviewing them. The one new external one is of some interest, since we add it, but a link to a webpage or so would also be fine.
I did, sorry! Got confused moving the chanhes to git from SVN. I thought I'd include all JS libraries as a way to allow anyone testing this change to install them easily (by just applying the diff from this review) but you're right that it makes the review request much more confusing. So, I did as asked and just mention them in the description.
- Alexandros
| This is an automatically generated e-mail. To reply, visit: http://reviews.comics.org/r/1027/ |
|
Review request for GCD Tech Group.
By Alexandros Diamantidis.
|
Updated Oct. 7, 2012, 2:37 a.m. Changes
|
Description
Testing
Bugs:
684
Diffs (updated) |
|
|
| This is an automatically generated e-mail. To reply, visit: http://reviews.comics.org/r/1027/ |
Ship it!
This looks good now. Please submit to the git, but don't deploy, the change from svn to git still needs to be done on production, but we have local changes due to adds, which won't be committed for now... Thanks.
- Jochen
On October 7th, 2012, 2:37 a.m., Alexandros Diamantidis wrote:
|
Review request for GCD Tech Group.
By Alexandros Diamantidis.
Updated Oct. 7, 2012, 2:37 a.m. |
Description |
Testing
Bugs:
684
Diffs |