Active
Project:
Addresses
Version:
6.x-1.10
Component:
User interface (forms)
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Oct 2010 at 16:29 UTC
Updated:
11 Nov 2011 at 23:02 UTC
Jump to comment: Most recent file
Comments
Comment #1
sdsheridanOops! We made a couple of mistakes in the patch. Please use this one instead!
Shawn
Comment #2
AlexisWilke commentedThat looks good. I have a few problems with a couple changes, but other than that, it looks good.
Now, I was just thinking that if the addresses was to create a JS file for each province array that it generates, then the Browser would have a chance to cache those and we could even use a mechanism a la Boost to get the .js when they already exist without having to hit the database at all. Since there is no top secret information in those files, whether a hacker gains access to them wouldn't matter!
Now I'm not too sure whether it's possible to load a JS with AJAX and have the browser cache it... Worth a try though.
Thank you.
Alexis
Comment #3
sdsheridanGood question. Have to confess it's a bit beyond my .js expertise at the moment, but I'm all ears. :-)
Do let me know with which bits you have issues vis-a-vis the patch, and let's see if we can come to a consensus on a course of action.
Shawn
Comment #4
bwinett commentedsdsheridan - thanks! I just tested your patch, and it works perfectly. Can we get it merged into the module?