Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
422e63f1
Commit
422e63f1
authored
Mar 11, 2014
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
repair display of errors in gui
parent
94cdf7f7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
dream/platform/static/css/demo-new.css
dream/platform/static/css/demo-new.css
+4
-0
dream/platform/static/index.html
dream/platform/static/index.html
+2
-0
dream/platform/static/src/dream_launcher.js
dream/platform/static/src/dream_launcher.js
+2
-1
No files found.
dream/platform/static/css/demo-new.css
View file @
422e63f1
...
...
@@ -364,6 +364,10 @@ border: 1px solid black;
width
:
95%
;
}
#error
{
text-align
:
left
;
}
.ep
{
position
:
absolute
;
bottom
:
37%
;
...
...
dream/platform/static/index.html
View file @
422e63f1
...
...
@@ -114,6 +114,8 @@
</div>
</div>
<pre
id=
"error"
>
</pre>
</div>
<!-- DEP -->
...
...
dream/platform/static/src/dream_launcher.js
View file @
422e63f1
...
...
@@ -190,6 +190,7 @@
$
(
"
#reports
"
).
show
();
$
(
"
#result_zone
"
).
show
();
$
(
'
#result_list
'
).
empty
();
$
(
'
#error
'
).
empty
();
if
(
data
[
'
success
'
])
{
$
(
"
#json_result
"
).
val
(
JSON
.
stringify
(
data
[
'
success
'
],
undefined
,
"
"
));
...
...
@@ -204,7 +205,7 @@
dream_instance
.
displayResult
(
0
);
}
else
{
$
(
"
#reports
"
).
hide
();
$
(
"
#
json_result
"
).
show
().
effect
(
'
shake
'
,
50
).
val
(
data
[
'
error
'
]
);
$
(
"
#
error
"
).
text
(
data
[
"
error
"
]).
show
().
effect
(
'
shake
'
,
50
);
console
.
error
(
data
[
'
error
'
])
}
});
...
...
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