mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-04-14 09:49:06 -04:00
- Show the "Server Add needs configuration" message whenever there are no paths. - Un-ajaxify the admin code to remove complexity and allow us to update the status message as appropriate. - Rename server_add_admin.html.php to admin_server_add.html.php for consistency. - Fix up form to properly display error messages - Get rid of server_add_dir_list.html.php now that we're non-ajaxified. - Change delete <span> to an <a> for non-ajax world.
9 lines
224 B
JavaScript
9 lines
224 B
JavaScript
/**
|
|
* Set up autocomplete on the server path list
|
|
*
|
|
*/
|
|
$("document").ready(function() {
|
|
$("#gServerAddAdmin input:text").autocomplete(
|
|
base_url.replace("__ARGS__", "admin/server_add/autocomplete"), {max: 256});
|
|
});
|