Permalink
Browse files

actually send the post request from JS

  • Loading branch information...
1 parent b4c7c04 commit dbc9fe4d6813f0df86454039191f0429c81f0397 @moritz committed Aug 15, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 cgi/summary.js
View
@@ -20,4 +20,7 @@ function save_summary_changes() {
);
}
});
+ if (was_checked.length != 0 || newly_checked.length != 0) {
+ $.post("/save_summary.pl", { check: newly_checked.join('.'), uncheck: was_checked.join('.') } );
+ }
}

0 comments on commit dbc9fe4

Please sign in to comment.