Changeset 5781 for luci2/cbi2/widgets/luci/file.c
- Timestamp:
- 03/09/10 19:00:38 (3 years ago)
- Files:
-
- 1 modified
-
luci2/cbi2/widgets/luci/file.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
luci2/cbi2/widgets/luci/file.c
r5780 r5781 4 4 { 5 5 json_object *j = json_object_new_object(); 6 const char *type = cbi_ find_prop(e, "type");6 const char *type = cbi_prop_find(e, "type"); 7 7 json_object_object_add(j, "type", json_object_new_string((type)?(type):("package"))); 8 8 return j;
