MDL-50749 js: add some TODOs to some small hacks
This commit is contained in:
@@ -871,7 +871,9 @@ Y.extend(RESOURCETOOLBOX, TOOLBOX, {
|
||||
activity.one(SELECTOR.EDITTITLE).focus();
|
||||
});
|
||||
|
||||
// Hack for Behat compatibility.
|
||||
// TODO MDL-50768 This hack is to keep Behat happy until they release a version of
|
||||
// MinkSelenium2Driver that fixes
|
||||
// https://github.com/Behat/MinkSelenium2Driver/issues/80.
|
||||
if (!Y.one('input[name=title]')) {
|
||||
Y.one('body').append('<input type="text" name="title" style="display: none">');
|
||||
}
|
||||
|
||||
@@ -871,7 +871,9 @@ Y.extend(RESOURCETOOLBOX, TOOLBOX, {
|
||||
activity.one(SELECTOR.EDITTITLE).focus();
|
||||
});
|
||||
|
||||
// Hack for Behat compatibility.
|
||||
// TODO MDL-50768 This hack is to keep Behat happy until they release a version of
|
||||
// MinkSelenium2Driver that fixes
|
||||
// https://github.com/Behat/MinkSelenium2Driver/issues/80.
|
||||
if (!Y.one('input[name=title]')) {
|
||||
Y.one('body').append('<input type="text" name="title" style="display: none">');
|
||||
}
|
||||
|
||||
+3
-1
@@ -667,7 +667,9 @@ Y.extend(RESOURCETOOLBOX, TOOLBOX, {
|
||||
activity.one(SELECTOR.EDITTITLE).focus();
|
||||
});
|
||||
|
||||
// Hack for Behat compatibility.
|
||||
// TODO MDL-50768 This hack is to keep Behat happy until they release a version of
|
||||
// MinkSelenium2Driver that fixes
|
||||
// https://github.com/Behat/MinkSelenium2Driver/issues/80.
|
||||
if (!Y.one('input[name=title]')) {
|
||||
Y.one('body').append('<input type="text" name="title" style="display: none">');
|
||||
}
|
||||
|
||||
+1
-1
@@ -556,7 +556,7 @@ Y.extend(RESOURCETOOLBOX, TOOLBOX, {
|
||||
activity.one(SELECTOR.EDITMAXMARK).focus();
|
||||
});
|
||||
|
||||
// This hack is to keep Behat happy until they release a version of
|
||||
// TODO MDL-50768 This hack is to keep Behat happy until they release a version of
|
||||
// MinkSelenium2Driver that fixes
|
||||
// https://github.com/Behat/MinkSelenium2Driver/issues/80.
|
||||
if (!Y.one('input[name=maxmark')) {
|
||||
|
||||
@@ -556,7 +556,7 @@ Y.extend(RESOURCETOOLBOX, TOOLBOX, {
|
||||
activity.one(SELECTOR.EDITMAXMARK).focus();
|
||||
});
|
||||
|
||||
// This hack is to keep Behat happy until they release a version of
|
||||
// TODO MDL-50768 This hack is to keep Behat happy until they release a version of
|
||||
// MinkSelenium2Driver that fixes
|
||||
// https://github.com/Behat/MinkSelenium2Driver/issues/80.
|
||||
if (!Y.one('input[name=maxmark')) {
|
||||
|
||||
+1
-1
@@ -342,7 +342,7 @@ Y.extend(RESOURCETOOLBOX, TOOLBOX, {
|
||||
activity.one(SELECTOR.EDITMAXMARK).focus();
|
||||
});
|
||||
|
||||
// This hack is to keep Behat happy until they release a version of
|
||||
// TODO MDL-50768 This hack is to keep Behat happy until they release a version of
|
||||
// MinkSelenium2Driver that fixes
|
||||
// https://github.com/Behat/MinkSelenium2Driver/issues/80.
|
||||
if (!Y.one('input[name=maxmark')) {
|
||||
|
||||
Reference in New Issue
Block a user