[Phpmyadmin-devel] GIS editor loads big, useless JavaScript files

Hi, I just noticed - we load over 1 MB of compressed JavaScript files in sql.php, tbl_change.php and tbl_select.php - all for GIS editor, even if there are no GIS fields in the database. I believe that this must be loaded conditionally - when we have a chance of running GIS editor, or even load dynamically when editor is used. -- Regards, Piotr Przybylski

On Fri, Sep 2, 2011 at 5:01 PM, Piotr Przybylski <piotr.prz@gmail.com> wrote:
Hi,
I just noticed - we load over 1 MB of compressed JavaScript files in sql.php, tbl_change.php and tbl_select.php - all for GIS editor, even if there are no GIS fields in the database.
I believe that this must be loaded conditionally - when we have a chance of running GIS editor, or even load dynamically when editor is used.
I very much agree with that. Loading them dynamically is I think the preferable solution.
-- Regards, Piotr Przybylski
------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel

On Fri, Sep 2, 2011 at 7:31 PM, Piotr Przybylski <piotr.prz@gmail.com>wrote:
Hi,
I just noticed - we load over 1 MB of compressed JavaScript files in sql.php, tbl_change.php and tbl_select.php - all for GIS editor, even if there are no GIS fields in the database.
I believe that this must be loaded conditionally - when we have a chance of running GIS editor, or even load dynamically when editor is used.
-- Regards, Piotr Przybylski
Yes, I agree. I will attend to this as soon as I get some time to spare on this. And thanks for noticing. -- Thanks and Regards, Madhura Jayaratne
participants (3)
-
Madhura Jayaratne
-
Piotr Przybylski
-
Tyron Madlener