MDL-43687 Javascript: Correct instantiation of the question-preview
authorAndrew Nicols <andrew@nicols.co.uk>
Thu, 6 Feb 2014 05:33:41 +0000 (13:33 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Thu, 6 Feb 2014 05:55:27 +0000 (13:55 +0800)
commitfd2e73abefb9104402a5b074f51ee7a35db30c7a
tree00e5f65f2402bdc72b6ec22314ca77d40c5daa57
parent42e34c2882d8e3596477b3db56b411a5e4f5ada6
MDL-43687 Javascript: Correct instantiation of the question-preview

This addresses issues discovered during testing, including:
* inclusion of the M.core_question_preview metadata;
* inclusion of required strings; and
* correcting a function signature.
question/preview.php
question/yui/build/moodle-question-preview/moodle-question-preview-debug.js
question/yui/build/moodle-question-preview/moodle-question-preview-min.js
question/yui/build/moodle-question-preview/moodle-question-preview.js
question/yui/src/preview/js/preview.js