summaryrefslogtreecommitdiffstats
path: root/public/js/pbs.js
diff options
context:
space:
mode:
authorschmelzs2010-01-20 16:52:54 +0100
committerschmelzs2010-01-20 16:52:54 +0100
commit6c09e2d3b2a7e9c7bfeb403c01ec65315833281c (patch)
treef981c1e45fbe61b13ab7edb63f03b85e37310498 /public/js/pbs.js
parentinitial import (diff)
downloadpbs-6c09e2d3b2a7e9c7bfeb403c01ec65315833281c.tar.gz
pbs-6c09e2d3b2a7e9c7bfeb403c01ec65315833281c.tar.xz
pbs-6c09e2d3b2a7e9c7bfeb403c01ec65315833281c.zip
added delete function for menu assignments
Diffstat (limited to 'public/js/pbs.js')
-rw-r--r--public/js/pbs.js12
1 files changed, 11 insertions, 1 deletions
diff --git a/public/js/pbs.js b/public/js/pbs.js
index f216602..1534138 100644
--- a/public/js/pbs.js
+++ b/public/js/pbs.js
@@ -498,7 +498,17 @@ var menuCreateAssignmentStep2 = function (name, menu, bootmedia, ip) {
ip : ip
},
function () {
- $("#menuassignments-list-content").load("/backend/menu/listassignments/");
+ $("#menuassignment-list-content").load("/backend/menu/listassignments/");
});
};
+var menuAssignmentDelete = function (id) {
+ $.post("/backend/menu/delassignment", {
+ id : id
+ },
+ function () {
+ $("#menuassignment-list-content").load("/backend/menu/listassignments/");
+ }
+ );
+
+}; \ No newline at end of file