Permalink
Browse files

Fix broken admin function

  • Loading branch information...
1 parent 07cb1f7 commit 66e822b603116377ca982be5374d0e78fb75e7e8 @cubehouse cubehouse committed Sep 11, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 js/admin.js
View
@@ -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) {

0 comments on commit 66e822b

Please sign in to comment.