Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-ora2
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-ora2
Commits
b283d05d
Commit
b283d05d
authored
Jun 09, 2014
by
Will Daly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Load views immediately, not with a JQuery callback
parent
b0476980
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
10 deletions
+6
-10
openassessment/xblock/static/js/openassessment.min.js
+0
-0
openassessment/xblock/static/js/src/oa_base.js
+3
-5
openassessment/xblock/static/js/src/oa_edit.js
+3
-5
No files found.
openassessment/xblock/static/js/openassessment.min.js
View file @
b283d05d
This diff is collapsed.
Click to expand it.
openassessment/xblock/static/js/src/oa_base.js
View file @
b283d05d
...
...
@@ -157,9 +157,7 @@ function OpenAssessmentBlock(runtime, element) {
/**
Render views within the base view on page load.
**/
$
(
function
(
$
)
{
var
server
=
new
OpenAssessment
.
Server
(
runtime
,
element
);
var
view
=
new
OpenAssessment
.
BaseView
(
runtime
,
element
,
server
);
view
.
load
();
});
var
server
=
new
OpenAssessment
.
Server
(
runtime
,
element
);
var
view
=
new
OpenAssessment
.
BaseView
(
runtime
,
element
,
server
);
view
.
load
();
}
openassessment/xblock/static/js/src/oa_edit.js
View file @
b283d05d
...
...
@@ -132,9 +132,7 @@ function OpenAssessmentEditor(runtime, element) {
/**
Initialize the editing interface on page load.
**/
$
(
function
(
$
)
{
var
server
=
new
OpenAssessment
.
Server
(
runtime
,
element
);
var
view
=
new
OpenAssessment
.
StudioView
(
runtime
,
element
,
server
);
view
.
load
();
});
var
server
=
new
OpenAssessment
.
Server
(
runtime
,
element
);
var
view
=
new
OpenAssessment
.
StudioView
(
runtime
,
element
,
server
);
view
.
load
();
}
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