[Phpmyadmin-devel] Where to put new jQuery functions

Michal Čihař michal at cihar.com
Wed May 26 10:36:58 CEST 2010


Hi

Dne Tue, 25 May 2010 17:01:31 -0400
Lori Lee <leelorik at gmail.com> napsal(a):

> I wrote a jQuery function that will replace the hide_them_all() and
> init_options() javascript functions used in Import/Export. I am wondering if
> this should go back in the PMA_pluginGetJavascript() function in
> plugin_interface.lib.php, into one of the .js files, or into a new .js file.
> I will probably also end up re-writing the match_file() function which is
> also declared in PMA_pluginGetJavascript().

As we want to get rid of inline javascript, it should probably go to
some file in js/ directory. In this case probably in new file.

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20100526/b24efd57/attachment.sig>


More information about the Developers mailing list