]> code.citadel.org Git - citadel.git/blobdiff - webcit/webcit.c
Begin reloading the form from saved rules
[citadel.git] / webcit / webcit.c
index 66e1953537524a444fb733a43c350251d451d615..d61a66a1463b83b5b8581110d8acb905edfd4dd4 100644 (file)
@@ -102,6 +102,8 @@ void addurls(char *url)
                unescape_input(u->url_data);
                up = ptr;
                ++up;
+
+               /* lprintf(9, "%s = %s\n", u->url_key, u->url_data); */
        }
 }
 
@@ -1627,7 +1629,11 @@ void session_loop(struct httprequest *req)
        } else if (!strcasecmp(action, "save_sieve")) {
                save_sieve();
        } else if (!strcasecmp(action, "display_add_remove_scripts")) {
-               display_add_remove_scripts();
+               display_add_remove_scripts(NULL);
+       } else if (!strcasecmp(action, "create_script")) {
+               create_script();
+       } else if (!strcasecmp(action, "delete_script")) {
+               delete_script();
        } else if (!strcasecmp(action, "setup_wizard")) {
                do_setup_wizard();
        } else if (!strcasecmp(action, "display_preferences")) {