Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alecs_myu
erp5
Commits
8af33059
Commit
8af33059
authored
Feb 02, 2016
by
iv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OfficeJS drive: Fix error display.
parent
7883bb10
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
bt5/erp5_officejs_drive/PathTemplateItem/web_page_module/gadget_officejs_drive_page_browse_js.xml
.../web_page_module/gadget_officejs_drive_page_browse_js.xml
+4
-4
No files found.
bt5/erp5_officejs_drive/PathTemplateItem/web_page_module/gadget_officejs_drive_page_browse_js.xml
View file @
8af33059
...
@@ -151,9 +151,7 @@
...
@@ -151,9 +151,7 @@
})\n
})\n
\n
\n
.declareMethod("browse", function (command, args) {\n
.declareMethod("browse", function (command, args) {\n
var gadget = this,\n
var gadget = this;\n
position = args[0].split(\'/\'),\n
resource = position.pop();\n
\n
\n
function absolutePosition(current, requested) {\n
function absolutePosition(current, requested) {\n
var pos;\n
var pos;\n
...
@@ -179,6 +177,8 @@
...
@@ -179,6 +177,8 @@
\n
\n
case \'vim\':\n
case \'vim\':\n
case \'vi\':\n
case \'vi\':\n
var position = args[0].split(\'/\'),\n
resource = position.pop();\n
if (args.length === 1) {\n
if (args.length === 1) {\n
return gadget.redirect({\n
return gadget.redirect({\n
page: \'edit\',\n
page: \'edit\',\n
...
@@ -197,7 +197,7 @@
...
@@ -197,7 +197,7 @@
gadget.props.element.querySelector(\'.error\').textContent = e.name +\n
gadget.props.element.querySelector(\'.error\').textContent = e.name +\n
": " +\n
": " +\n
e.message;\n
e.message;\n
}
}
\n
}\n
}\n
})\n
})\n
\n
\n
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment