Skip to content

Commit

Permalink
Fix broken admin function
Browse files Browse the repository at this point in the history
  • Loading branch information
cubehouse committed Sep 11, 2013
1 parent 07cb1f7 commit 66e822b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ define(["config", "popup", "api", "msg", "items", "forms", "jquery", "jqueryui/s
} else if (form.iconsrc == "cat_id") {
url = "add/cat_cat";
form.cat_id = form.datainput;
} else if (form.iconsrc == "file") {
form.icon = form.datainput;
}

api.post("admin/"+url+"/"+data.id, form, function(response) {
Expand Down

0 comments on commit 66e822b

Please sign in to comment.