Commit 7707c922 authored by Boris Kocherov's avatar Boris Kocherov Committed by Romain Courteaud

erp5_only_office: rename view folders to view_folder folders

parent 6b0c87de
......@@ -88,25 +88,25 @@ onlyoffice/web-apps/apps/common/main/lib/util/Shortcuts.js
onlyoffice/web-apps/apps/common/main/lib/util/Tip.js
onlyoffice/web-apps/apps/common/main/lib/util/define.js
onlyoffice/web-apps/apps/common/main/lib/util/utils.js
onlyoffice/web-apps/apps/common/main/lib/view/About.js
onlyoffice/web-apps/apps/common/main/lib/view/AdvancedSettingsWindow.js
onlyoffice/web-apps/apps/common/main/lib/view/Chat.js
onlyoffice/web-apps/apps/common/main/lib/view/Comments.js
onlyoffice/web-apps/apps/common/main/lib/view/CopyWarningDialog.js
onlyoffice/web-apps/apps/common/main/lib/view/DocumentAccessDialog.js
onlyoffice/web-apps/apps/common/main/lib/view/ExtendedColorDialog.js
onlyoffice/web-apps/apps/common/main/lib/view/ExternalDiagramEditor.js
onlyoffice/web-apps/apps/common/main/lib/view/ExternalMergeEditor.js
onlyoffice/web-apps/apps/common/main/lib/view/Header.js
onlyoffice/web-apps/apps/common/main/lib/view/History.js
onlyoffice/web-apps/apps/common/main/lib/view/ImageFromUrlDialog.js
onlyoffice/web-apps/apps/common/main/lib/view/InsertTableDialog.js
onlyoffice/web-apps/apps/common/main/lib/view/LanguageDialog.js
onlyoffice/web-apps/apps/common/main/lib/view/OpenDialog.js
onlyoffice/web-apps/apps/common/main/lib/view/Plugins.js
onlyoffice/web-apps/apps/common/main/lib/view/RenameDialog.js
onlyoffice/web-apps/apps/common/main/lib/view/ReviewChanges.js
onlyoffice/web-apps/apps/common/main/lib/view/SearchDialog.js
onlyoffice/web-apps/apps/common/main/lib/view_folder/About.js
onlyoffice/web-apps/apps/common/main/lib/view_folder/AdvancedSettingsWindow.js
onlyoffice/web-apps/apps/common/main/lib/view_folder/Chat.js
onlyoffice/web-apps/apps/common/main/lib/view_folder/Comments.js
onlyoffice/web-apps/apps/common/main/lib/view_folder/CopyWarningDialog.js
onlyoffice/web-apps/apps/common/main/lib/view_folder/DocumentAccessDialog.js
onlyoffice/web-apps/apps/common/main/lib/view_folder/ExtendedColorDialog.js
onlyoffice/web-apps/apps/common/main/lib/view_folder/ExternalDiagramEditor.js
onlyoffice/web-apps/apps/common/main/lib/view_folder/ExternalMergeEditor.js
onlyoffice/web-apps/apps/common/main/lib/view_folder/Header.js
onlyoffice/web-apps/apps/common/main/lib/view_folder/History.js
onlyoffice/web-apps/apps/common/main/lib/view_folder/ImageFromUrlDialog.js
onlyoffice/web-apps/apps/common/main/lib/view_folder/InsertTableDialog.js
onlyoffice/web-apps/apps/common/main/lib/view_folder/LanguageDialog.js
onlyoffice/web-apps/apps/common/main/lib/view_folder/OpenDialog.js
onlyoffice/web-apps/apps/common/main/lib/view_folder/Plugins.js
onlyoffice/web-apps/apps/common/main/lib/view_folder/RenameDialog.js
onlyoffice/web-apps/apps/common/main/lib/view_folder/ReviewChanges.js
onlyoffice/web-apps/apps/common/main/lib/view_folder/SearchDialog.js
onlyoffice/web-apps/apps/css.js
onlyoffice/web-apps/apps/documenteditor/main/app.js
onlyoffice/web-apps/apps/documenteditor/main/app/collection/EquationGroups.js
......@@ -140,36 +140,36 @@ onlyoffice/web-apps/apps/documenteditor/main/app/template/TableSettingsAdvanced.
onlyoffice/web-apps/apps/documenteditor/main/app/template/TextArtSettings.template
onlyoffice/web-apps/apps/documenteditor/main/app/template/Toolbar.template
onlyoffice/web-apps/apps/documenteditor/main/app/template/Viewport.template
onlyoffice/web-apps/apps/documenteditor/main/app/view/ChartSettings.js
onlyoffice/web-apps/apps/documenteditor/main/app/view/CustomColumnsDialog.js
onlyoffice/web-apps/apps/documenteditor/main/app/view/DocumentHolder.js
onlyoffice/web-apps/apps/documenteditor/main/app/view/DropcapSettingsAdvanced.js
onlyoffice/web-apps/apps/documenteditor/main/app/view/FileMenu.js
onlyoffice/web-apps/apps/documenteditor/main/app/view/FileMenuPanels.js
onlyoffice/web-apps/apps/documenteditor/main/app/view/FootnoteTip.js
onlyoffice/web-apps/apps/documenteditor/main/app/view/HeaderFooterSettings.js
onlyoffice/web-apps/apps/documenteditor/main/app/view/HyperlinkSettingsDialog.js
onlyoffice/web-apps/apps/documenteditor/main/app/view/ImageSettings.js
onlyoffice/web-apps/apps/documenteditor/main/app/view/ImageSettingsAdvanced.js
onlyoffice/web-apps/apps/documenteditor/main/app/view/LeftMenu.js
onlyoffice/web-apps/apps/documenteditor/main/app/view/MailMergeEmailDlg.js
onlyoffice/web-apps/apps/documenteditor/main/app/view/MailMergeRecepients.js
onlyoffice/web-apps/apps/documenteditor/main/app/view/MailMergeSaveDlg.js
onlyoffice/web-apps/apps/documenteditor/main/app/view/MailMergeSettings.js
onlyoffice/web-apps/apps/documenteditor/main/app/view/NoteSettingsDialog.js
onlyoffice/web-apps/apps/documenteditor/main/app/view/PageMarginsDialog.js
onlyoffice/web-apps/apps/documenteditor/main/app/view/PageSizeDialog.js
onlyoffice/web-apps/apps/documenteditor/main/app/view/ParagraphSettings.js
onlyoffice/web-apps/apps/documenteditor/main/app/view/ParagraphSettingsAdvanced.js
onlyoffice/web-apps/apps/documenteditor/main/app/view/RightMenu.js
onlyoffice/web-apps/apps/documenteditor/main/app/view/ShapeSettings.js
onlyoffice/web-apps/apps/documenteditor/main/app/view/Statusbar.js
onlyoffice/web-apps/apps/documenteditor/main/app/view/StyleTitleDialog.js
onlyoffice/web-apps/apps/documenteditor/main/app/view/TableSettings.js
onlyoffice/web-apps/apps/documenteditor/main/app/view/TableSettingsAdvanced.js
onlyoffice/web-apps/apps/documenteditor/main/app/view/TextArtSettings.js
onlyoffice/web-apps/apps/documenteditor/main/app/view/Toolbar.js
onlyoffice/web-apps/apps/documenteditor/main/app/view/Viewport.js
onlyoffice/web-apps/apps/documenteditor/main/app/view_folder/ChartSettings.js
onlyoffice/web-apps/apps/documenteditor/main/app/view_folder/CustomColumnsDialog.js
onlyoffice/web-apps/apps/documenteditor/main/app/view_folder/DocumentHolder.js
onlyoffice/web-apps/apps/documenteditor/main/app/view_folder/DropcapSettingsAdvanced.js
onlyoffice/web-apps/apps/documenteditor/main/app/view_folder/FileMenu.js
onlyoffice/web-apps/apps/documenteditor/main/app/view_folder/FileMenuPanels.js
onlyoffice/web-apps/apps/documenteditor/main/app/view_folder/FootnoteTip.js
onlyoffice/web-apps/apps/documenteditor/main/app/view_folder/HeaderFooterSettings.js
onlyoffice/web-apps/apps/documenteditor/main/app/view_folder/HyperlinkSettingsDialog.js
onlyoffice/web-apps/apps/documenteditor/main/app/view_folder/ImageSettings.js
onlyoffice/web-apps/apps/documenteditor/main/app/view_folder/ImageSettingsAdvanced.js
onlyoffice/web-apps/apps/documenteditor/main/app/view_folder/LeftMenu.js
onlyoffice/web-apps/apps/documenteditor/main/app/view_folder/MailMergeEmailDlg.js
onlyoffice/web-apps/apps/documenteditor/main/app/view_folder/MailMergeRecepients.js
onlyoffice/web-apps/apps/documenteditor/main/app/view_folder/MailMergeSaveDlg.js
onlyoffice/web-apps/apps/documenteditor/main/app/view_folder/MailMergeSettings.js
onlyoffice/web-apps/apps/documenteditor/main/app/view_folder/NoteSettingsDialog.js
onlyoffice/web-apps/apps/documenteditor/main/app/view_folder/PageMarginsDialog.js
onlyoffice/web-apps/apps/documenteditor/main/app/view_folder/PageSizeDialog.js
onlyoffice/web-apps/apps/documenteditor/main/app/view_folder/ParagraphSettings.js
onlyoffice/web-apps/apps/documenteditor/main/app/view_folder/ParagraphSettingsAdvanced.js
onlyoffice/web-apps/apps/documenteditor/main/app/view_folder/RightMenu.js
onlyoffice/web-apps/apps/documenteditor/main/app/view_folder/ShapeSettings.js
onlyoffice/web-apps/apps/documenteditor/main/app/view_folder/Statusbar.js
onlyoffice/web-apps/apps/documenteditor/main/app/view_folder/StyleTitleDialog.js
onlyoffice/web-apps/apps/documenteditor/main/app/view_folder/TableSettings.js
onlyoffice/web-apps/apps/documenteditor/main/app/view_folder/TableSettingsAdvanced.js
onlyoffice/web-apps/apps/documenteditor/main/app/view_folder/TextArtSettings.js
onlyoffice/web-apps/apps/documenteditor/main/app/view_folder/Toolbar.js
onlyoffice/web-apps/apps/documenteditor/main/app/view_folder/Viewport.js
onlyoffice/web-apps/apps/documenteditor/main/locale/cs.json
onlyoffice/web-apps/apps/documenteditor/main/locale/de.json
onlyoffice/web-apps/apps/documenteditor/main/locale/en.json
......@@ -220,30 +220,30 @@ onlyoffice/web-apps/apps/presentationeditor/main/app/template/TableSettingsAdvan
onlyoffice/web-apps/apps/presentationeditor/main/app/template/TextArtSettings.template
onlyoffice/web-apps/apps/presentationeditor/main/app/template/Toolbar.template
onlyoffice/web-apps/apps/presentationeditor/main/app/template/Viewport.template
onlyoffice/web-apps/apps/presentationeditor/main/app/view/ChartSettings.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view/ChartSettingsAdvanced.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view/DocumentHolder.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view/DocumentPreview.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view/FileMenu.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view/FileMenuPanels.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view/HyperlinkSettingsDialog.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view/ImageSettings.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view/ImageSettingsAdvanced.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view/LeftMenu.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view/ParagraphSettings.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view/ParagraphSettingsAdvanced.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view/RightMenu.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view/ShapeSettings.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view/ShapeSettingsAdvanced.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view/SlideSettings.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view/SlideSizeSettings.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view/SlideshowSettings.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view/Statusbar.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view/TableSettings.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view/TableSettingsAdvanced.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view/TextArtSettings.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view/Toolbar.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view/Viewport.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view_folder/ChartSettings.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view_folder/ChartSettingsAdvanced.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view_folder/DocumentHolder.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view_folder/DocumentPreview.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view_folder/FileMenu.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view_folder/FileMenuPanels.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view_folder/HyperlinkSettingsDialog.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view_folder/ImageSettings.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view_folder/ImageSettingsAdvanced.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view_folder/LeftMenu.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view_folder/ParagraphSettings.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view_folder/ParagraphSettingsAdvanced.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view_folder/RightMenu.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view_folder/ShapeSettings.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view_folder/ShapeSettingsAdvanced.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view_folder/SlideSettings.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view_folder/SlideSizeSettings.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view_folder/SlideshowSettings.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view_folder/Statusbar.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view_folder/TableSettings.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view_folder/TableSettingsAdvanced.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view_folder/TextArtSettings.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view_folder/Toolbar.js
onlyoffice/web-apps/apps/presentationeditor/main/app/view_folder/Viewport.js
onlyoffice/web-apps/apps/presentationeditor/main/locale/cs.json
onlyoffice/web-apps/apps/presentationeditor/main/locale/de.json
onlyoffice/web-apps/apps/presentationeditor/main/locale/en.json
......@@ -302,38 +302,38 @@ onlyoffice/web-apps/apps/spreadsheeteditor/main/app/template/TableSettingsAdvanc
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/template/TextArtSettings.template
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/template/Toolbar.template
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/template/Viewport.template
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/AutoFilterDialog.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/CellEditor.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/CellRangeDialog.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/ChartSettings.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/ChartSettingsDlg.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/DocumentHolder.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/FileMenu.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/FormatSettingsDialog.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/FormulaDialog.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/FormulaLang.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/ImageSettings.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/ImageSettingsAdvanced.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/LeftMenu.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/NameManagerDlg.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/NamedRangeEditDlg.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/NamedRangePasteDlg.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/ParagraphSettings.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/ParagraphSettingsAdvanced.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/PrintSettings.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/RightMenu.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/SetValueDialog.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/ShapeSettings.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/ShapeSettingsAdvanced.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/Statusbar.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/TableOptionsDialog.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/TableSettings.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/TableSettingsAdvanced.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/TextArtSettings.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/Toolbar.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view/Viewport.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/AutoFilterDialog.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/CellEditor.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/CellRangeDialog.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/ChartSettings.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/ChartSettingsDlg.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/DocumentHolder.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/FileMenu.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/FileMenuPanels.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/FormatSettingsDialog.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/FormulaDialog.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/FormulaLang.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/HyperlinkSettingsDialog.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/ImageSettings.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/ImageSettingsAdvanced.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/LeftMenu.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/NameManagerDlg.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/NamedRangeEditDlg.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/NamedRangePasteDlg.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/ParagraphSettings.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/ParagraphSettingsAdvanced.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/PrintSettings.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/RightMenu.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/SetValueDialog.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/ShapeSettings.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/ShapeSettingsAdvanced.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/Statusbar.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/TableOptionsDialog.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/TableSettings.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/TableSettingsAdvanced.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/TextArtSettings.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/Toolbar.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/app/view_folder/Viewport.js
onlyoffice/web-apps/apps/spreadsheeteditor/main/locale/cs.json
onlyoffice/web-apps/apps/spreadsheeteditor/main/locale/de.json
onlyoffice/web-apps/apps/spreadsheeteditor/main/locale/en.json
......
......@@ -244,7 +244,7 @@ DocsAPI.DocEditor.version = function () {
return "";
})
.push(function (portal_type) {
var value;
var value, documentType, magic;
portal_type = portal_type || options.portal_type;
g.props.binary_loader = false;
g.props.jio_key = options.jio_key;
......@@ -288,11 +288,6 @@ DocsAPI.DocEditor.version = function () {
});
}
}
return value;
})
.push(function (value) {
var magic, documentType,
app_url, sdk_deps = ["promise!sdk_async_loader"];
g.props.value = value;
if (!g.props.documentType && value === "") {
throw "can not create empty document " +
......@@ -322,6 +317,54 @@ DocsAPI.DocEditor.version = function () {
g.props.documentType = documentType;
}
}
})
.push(function () {
return jIO.util.ajax({
type: "GET",
url: "onlyoffice.gadget.appcache"
});
})
.push(function (response) {
/*configure requeryjs for rename
view and edit to view_folder and edit_folder
in dependencies
*/
var text = response.target.responseText,
relative_url_list = text.split('\r\n'),
i,
new_url,
old_url,
config = {};
if (relative_url_list.length === 1) {
relative_url_list = text.split('\n');
}
if (relative_url_list.length === 1) {
relative_url_list = text.split('\r');
}
for (i = 0; i < relative_url_list.length; i += 1) {
if (
relative_url_list[i] !== "" &&
relative_url_list[i].charAt(0) !== '#' &&
relative_url_list[i].charAt(0) !== ' ') {
relative_url_list[i].replace("\r", "");
new_url = relative_url_list[i]
.replace('onlyoffice/web-apps/apps/', '')
.replace(/\.[^.]*$/, '');
old_url = new_url
.replace(/(^|\/)view_folder\//g,"$1view/")
.replace(/(^|\/)edit_folder\//g,"$1edit/");
if (old_url !== new_url) {
config[old_url] = [
new_url,
old_url
];
}
}
}
require.config({paths: config});
})
.push(function () {
var app_url, sdk_deps = ["promise!sdk_async_loader"];
if (!g.props.value_zip_storage) {
g.props.value_zip_storage = jIO.createJIO({type: "zipfile"});
}
......
......@@ -14,7 +14,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>view</string> </value>
<value> <string>view_folder</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -14,7 +14,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>view</string> </value>
<value> <string>view_folder</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -14,7 +14,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>view</string> </value>
<value> <string>view_folder</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -14,7 +14,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>view</string> </value>
<value> <string>view_folder</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
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