MDL-43089 question: fix shifter build issues
authorDan Poltawski <dan@moodle.com>
Mon, 6 Oct 2014 12:53:26 +0000 (13:53 +0100)
committerDan Poltawski <dan@moodle.com>
Mon, 6 Oct 2014 12:53:26 +0000 (13:53 +0100)
mod/quiz/yui/build/moodle-mod_quiz-quizquestionbank/moodle-mod_quiz-quizquestionbank-debug.js
mod/quiz/yui/build/moodle-mod_quiz-quizquestionbank/moodle-mod_quiz-quizquestionbank-min.js
mod/quiz/yui/build/moodle-mod_quiz-quizquestionbank/moodle-mod_quiz-quizquestionbank.js
mod/quiz/yui/build/moodle-mod_quiz-util-slot/moodle-mod_quiz-util-slot-debug.js
mod/quiz/yui/build/moodle-mod_quiz-util-slot/moodle-mod_quiz-util-slot.js
mod/quiz/yui/src/quizquestionbank/meta/quizquestionbank.json
question/yui/build/moodle-question-questionbank/moodle-question-questionbank-debug.js [deleted file]
question/yui/build/moodle-question-questionbank/moodle-question-questionbank.js [deleted file]
question/yui/src/questionbank/build.json [deleted file]
question/yui/src/questionbank/js/questionbank.js [deleted file]
question/yui/src/questionbank/meta/questionbank.json [deleted file]

index 3e2515b..db71663 100644 (file)
Binary files a/mod/quiz/yui/build/moodle-mod_quiz-quizquestionbank/moodle-mod_quiz-quizquestionbank-debug.js and b/mod/quiz/yui/build/moodle-mod_quiz-quizquestionbank/moodle-mod_quiz-quizquestionbank-debug.js differ
index 6490697..83c5ba2 100644 (file)
Binary files a/mod/quiz/yui/build/moodle-mod_quiz-quizquestionbank/moodle-mod_quiz-quizquestionbank-min.js and b/mod/quiz/yui/build/moodle-mod_quiz-quizquestionbank/moodle-mod_quiz-quizquestionbank-min.js differ
index 5ef76bf..951a2d1 100644 (file)
Binary files a/mod/quiz/yui/build/moodle-mod_quiz-quizquestionbank/moodle-mod_quiz-quizquestionbank.js and b/mod/quiz/yui/build/moodle-mod_quiz-quizquestionbank/moodle-mod_quiz-quizquestionbank.js differ
index 1f0927c..38e3e0a 100644 (file)
Binary files a/mod/quiz/yui/build/moodle-mod_quiz-util-slot/moodle-mod_quiz-util-slot-debug.js and b/mod/quiz/yui/build/moodle-mod_quiz-util-slot/moodle-mod_quiz-util-slot-debug.js differ
index 1f0927c..38e3e0a 100644 (file)
Binary files a/mod/quiz/yui/build/moodle-mod_quiz-util-slot/moodle-mod_quiz-util-slot.js and b/mod/quiz/yui/build/moodle-mod_quiz-util-slot/moodle-mod_quiz-util-slot.js differ
index 5bb0c64..ecea6eb 100644 (file)
@@ -7,7 +7,7 @@
             "io",
             "io-form",
             "yui-later",
-            "moodle-question-qbankmanager"
+            "moodle-question-qbankmanager",
             "moodle-core-notification-dialogue"
         ]
     }
diff --git a/question/yui/build/moodle-question-questionbank/moodle-question-questionbank-debug.js b/question/yui/build/moodle-question-questionbank/moodle-question-questionbank-debug.js
deleted file mode 100644 (file)
index 2393f6c..0000000
Binary files a/question/yui/build/moodle-question-questionbank/moodle-question-questionbank-debug.js and /dev/null differ
diff --git a/question/yui/build/moodle-question-questionbank/moodle-question-questionbank.js b/question/yui/build/moodle-question-questionbank/moodle-question-questionbank.js
deleted file mode 100644 (file)
index 2393f6c..0000000
Binary files a/question/yui/build/moodle-question-questionbank/moodle-question-questionbank.js and /dev/null differ
diff --git a/question/yui/src/questionbank/build.json b/question/yui/src/questionbank/build.json
deleted file mode 100644 (file)
index 650b517..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-{
-    "name": "moodle-question-questionbank",
-    "builds": {
-        "moodle-question-questionbank": {
-            "jsfiles": [
-                "questionbank.js"
-            ]
-        }
-    }
-}
diff --git a/question/yui/src/questionbank/js/questionbank.js b/question/yui/src/questionbank/js/questionbank.js
deleted file mode 100644 (file)
index 7a6da77..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-/**
- * The question bank popup to show question bank ccontents for mod_quiz.
- *
- *
- * @moodle-mod_quiz-questionbank
- */
-
-var CSS = {
-    PAGECONTENT : 'div#page-content',
-    SELECTALL : '', // TODO:
-    DESELECTALL : '', // TODO:
-    HEADERCHECKBOX : '', // TODO:
-    FIRSTCHECKBOX : '' // TODO:
-};
-
-var QUESTIONBANK = 'question-questionbank';
-
-question_bank = {
-    strselectall: '',
-    strdeselectall: '',
-    headercheckbox: null,
-    firstcheckbox: null,
-
-    // Button variables for question bank.
-    var createanewquestionbutton = Y.one('#buttonid'); // TODO: Findout the real id
-    var addtoquizbutton = Y.one('#addtoquiziid'); // TODO: find the new id
-    var deletbutton = Y.one('#deletebuttonid'); // TODO: find the real id
-    var movetobutton = Y.one('#movetiid'); // TODO: find the new id
-    var addrandomquestionstoquizbutton = Y.one('#movetiid'); // TODO: find the new id
-
-    addtoquizbutton.on('click', function(e)) {
-        // Add the selected questions to the quiz.
-
-    }
-
-    createanewquestionbutton.on('click', function(e)) {
-        // Call Create a new question popup window.
-
-    }
-
-    deletbutton.on('click', function(e)) {
-        // Delete selected questions.
-
-    }
-
-    movetobutton.on('click', function(e)) {
-        // Move selected question to the chosen category..
-
-    }
-
-    init_checkbox_column: function(Y, strselectall, strdeselectall, firstcbid) {
-        question_bank.strselectall = strselectall;
-        question_bank.strdeselectall = strdeselectall;
-
-        // Find the header checkbox, and initialise it.
-        question_bank.headercheckbox = document.getElementById('qbheadercheckbox');
-        question_bank.headercheckbox.disabled = false;
-        question_bank.headercheckbox.title = strselectall;
-
-        // Find the first real checkbox.
-        question_bank.firstcheckbox = document.getElementById(firstcbid);
-
-        // Add the event handler.
-        Y.YUI2.util.Event.addListener(question_bank.headercheckbox, 'click', question_bank.header_checkbox_click);
-    },
-
-    header_checkbox_click: function() {
-        if (question_bank.firstcheckbox.checked) {
-            select_all_in_element_with_id('categoryquestions', '');
-            question_bank.headercheckbox.title = question_bank.strselectall;
-        } else {
-            select_all_in_element_with_id('categoryquestions', 'checked');
-            question_bank.headercheckbox.title = question_bank.strdeselectall;
-        }
-        question_bank.headercheckbox.checked = false;
-    }
-};
-
-
-/**
- * The activity chooser dialogue for courses.
- *
- * @constructor
- * @class M.mod_quiz.questionbank
- * @extends M.core.chooserdialogue
- */
-var QUESTIONBANK = function() {
-    QUESTIONBANK.superclass.constructor.apply(this, arguments);
-};
-
-{
-    NAME : QUESTIONBANK,
-    ATTRS : {
-        maxheight : {
-            value : 800
-        }
-    }
-});
-
-M.question = M.question || {};
-M.question.init_qbank = function(config) {
-    return new QUESTIONBANK(config);
-};
diff --git a/question/yui/src/questionbank/meta/questionbank.json b/question/yui/src/questionbank/meta/questionbank.json
deleted file mode 100644 (file)
index 75607b7..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-{
-  "moodle-question-questionbank": {
-    "requires": [
-        "",
-        ""
-    ]
-  }
-}