mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-27 18:24:03 -04:00
Rewrite the server_add to have the server format the selection when a branch is opened. Sub trees re only retrieved when the branch is opened. Changed the
start task processing to fill in any subtrees that are selected, but were never expanded on the client. Added the loading icon. Signed-off-by: Bharat Mediratta <bharat@menalto.com>
This commit is contained in:
committed by
Bharat Mediratta
parent
13b12f410e
commit
e1ce3196f4
@@ -18,6 +18,10 @@
|
||||
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
class server_add_theme_Core {
|
||||
static function head($theme) {
|
||||
return html::script("modules/server_add/js/server_add.js") . "\n";;
|
||||
}
|
||||
|
||||
static function admin_head($theme) {
|
||||
$head = array();
|
||||
if (strpos(Router::$current_uri, "admin/server_add") !== false) {
|
||||
@@ -30,7 +34,7 @@ class server_add_theme_Core {
|
||||
$head[] = html::script("lib/jquery.autocomplete.js");
|
||||
$head[] = html::script("modules/server_add/js/admin.js");
|
||||
}
|
||||
|
||||
|
||||
return implode("\n", $head);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user