Skip to content

Commit

Permalink
Merge branch 'MDL-51311-master' of git://github.com/damyon/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Sep 21, 2015
2 parents 4b65342 + 1748938 commit b7fd9a0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/amd/build/first.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion lib/amd/src/first.js
Expand Up @@ -18,10 +18,19 @@
* Because every module is returned from a request for any other module, this
* forces the loading of all modules with a single request.
*
* This function also sets up the listeners for ajax requests so we can tell
* if any requests are still in progress.
*
* @module core/first
* @package core
* @copyright 2015 Damyon Wiese <damyon@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @since 2.9
*/
define(function() { });
define(['jquery'], function($) {
$(document).bind("ajaxStart", function(){
M.util.js_pending('jq');
}).bind("ajaxStop", function(){
M.util.js_complete('jq');
});
});
2 changes: 0 additions & 2 deletions tag/tests/behat/edit_tag.feature
Expand Up @@ -140,8 +140,6 @@ Feature: Users can edit tags to add description or rename
And I click on "Edit tag name" "link" in the "Cat" "table_row"
And I set the field "New name for tag Cat" to "Kitten"
And I press key "13" in the field "New name for tag Cat"
# TODO MDL-51311 : replace with "And I wait until the page is ready".
And I wait "2" seconds
Then I should not see "Cat"
And "New name for tag" "field" should not be visible
And I wait until "Kitten" "link" exists
Expand Down

0 comments on commit b7fd9a0

Please sign in to comment.