diff --git a/lib/yui/build/moodle-core-notification/moodle-core-notification-debug.js b/lib/yui/build/moodle-core-notification/moodle-core-notification-debug.js index e9a8c38fc47..929df2e7a3e 100644 --- a/lib/yui/build/moodle-core-notification/moodle-core-notification-debug.js +++ b/lib/yui/build/moodle-core-notification/moodle-core-notification-debug.js @@ -7,7 +7,6 @@ var DIALOGUE_NAME = 'Moodle dialogue', AJAXEXCEPTION_NAME = 'Moodle AJAX exception', ALERT_NAME = 'Moodle alert', BASE = 'notificationBase', - COUNT = 0, CONFIRMYES = 'yesLabel', CONFIRMNO = 'noLabel', TITLE = 'title', @@ -29,8 +28,8 @@ var DIALOGUE_NAME = 'Moodle dialogue', DIALOGUE; DIALOGUE = function(config) { - COUNT++; - var id = 'moodle-dialogue-'+COUNT; + config.count = Y.stamp(this); + var id = 'moodle-dialogue-' + config.count; config.notificationBase = Y.Node.create('