Commit a6139add authored by Boris Kocherov's avatar Boris Kocherov

add generated Web Manifest to template_path_list

parent e2baac0f
...@@ -535,12 +535,6 @@ ...@@ -535,12 +535,6 @@
context._id_dict[path][xmldoc.id + '.xml'] = xmldoc; context._id_dict[path][xmldoc.id + '.xml'] = xmldoc;
} }
} }
template_path_list = string2blob(template_path_list.join("\n"));
bt_folder.template_path_list = template_path_list;
bt_folder.template_keep_workflow_path_list = template_path_list;
bt_folder.template_keep_last_workflow_history_only_path_list =
template_path_list;
// generate appcache as list of all packaged files // generate appcache as list of all packaged files
xmldoc = { xmldoc = {
version: context._options.version, version: context._options.version,
...@@ -560,6 +554,15 @@ ...@@ -560,6 +554,15 @@
}; };
context._id_dict[context.path_prefix_file + "web_page_module/"] context._id_dict[context.path_prefix_file + "web_page_module/"]
[xmldoc.id + ".xml"] = string2blob(generateZopeData(xmldoc)); [xmldoc.id + ".xml"] = string2blob(generateZopeData(xmldoc));
template_path_list.push("web_page_module/" + xmldoc.id);
// create template_path_list meta
template_path_list = string2blob(template_path_list.join("\n"));
bt_folder.template_path_list = template_path_list;
bt_folder.template_keep_workflow_path_list = template_path_list;
bt_folder.template_keep_last_workflow_history_only_path_list =
template_path_list;
}); });
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment