Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
ee3a58ed
Commit
ee3a58ed
authored
Dec 05, 2016
by
alisan617
Committed by
Brian Jacobel
Dec 12, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert Error message back as it is for the modal title
parent
03d93a2e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
0 deletions
+7
-0
common/static/common/js/discussion/utils.js
+1
-0
common/static/common/js/discussion/views/discussion_inline_view.js
+1
-0
common/static/common/js/discussion/views/discussion_thread_list_view.js
+1
-0
common/static/common/js/discussion/views/discussion_thread_view.js
+3
-0
common/static/common/js/discussion/views/response_comment_view.js
+1
-0
No files found.
common/static/common/js/discussion/utils.js
View file @
ee3a58ed
...
...
@@ -184,6 +184,7 @@
if
(
!
params
.
error
)
{
params
.
error
=
function
()
{
self
.
discussionAlert
(
gettext
(
'Error'
),
gettext
(
'Your request could not be processed. Refresh the page and try again.'
)
);
};
...
...
common/static/common/js/discussion/views/discussion_inline_view.js
View file @
ee3a58ed
...
...
@@ -181,6 +181,7 @@
this
.
loadDiscussions
(
this
.
$el
,
function
()
{
self
.
hideDiscussion
();
DiscussionUtil
.
discussionAlert
(
gettext
(
'Error'
),
gettext
(
'This discussion could not be loaded. Refresh the page and try again.'
)
);
});
...
...
common/static/common/js/discussion/views/discussion_thread_list_view.js
View file @
ee3a58ed
...
...
@@ -309,6 +309,7 @@
error
=
function
()
{
self
.
renderThreads
();
DiscussionUtil
.
discussionAlert
(
gettext
(
'Error'
),
gettext
(
'Additional posts could not be loaded. Refresh the page and try again.'
)
);
};
...
...
common/static/common/js/discussion/views/discussion_thread_view.js
View file @
ee3a58ed
...
...
@@ -261,14 +261,17 @@
}
if
(
xhr
.
status
===
404
)
{
DiscussionUtil
.
discussionAlert
(
gettext
(
'Error'
),
gettext
(
'The post you selected has been deleted.'
)
);
}
else
if
(
firstLoad
)
{
DiscussionUtil
.
discussionAlert
(
gettext
(
'Error'
),
gettext
(
'Responses could not be loaded. Refresh the page and try again.'
)
);
}
else
{
DiscussionUtil
.
discussionAlert
(
gettext
(
'Error'
),
gettext
(
'Additional responses could not be loaded. Refresh the page and try again.'
)
);
}
...
...
common/static/common/js/discussion/views/response_comment_view.js
View file @
ee3a58ed
...
...
@@ -114,6 +114,7 @@
},
error
:
function
()
{
return
DiscussionUtil
.
discussionAlert
(
gettext
(
'Error'
),
gettext
(
'This comment could not be deleted. Refresh the page and try again.'
)
);
}
...
...
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