diff --git a/lib/editor/atto/db/upgrade.php b/lib/editor/atto/db/upgrade.php index d26776aeae4..20503286223 100644 --- a/lib/editor/atto/db/upgrade.php +++ b/lib/editor/atto/db/upgrade.php @@ -53,7 +53,7 @@ function xmldb_editor_atto_upgrade($oldversion) { // Moodle v2.7.0 release upgrade line. // Put any upgrade step following this. - if ($oldversion < 2014070301) { + if ($oldversion < 2014081400) { // Define table editor_atto_autosave to be created. $table = new xmldb_table('editor_atto_autosave'); @@ -78,7 +78,7 @@ function xmldb_editor_atto_upgrade($oldversion) { } // Atto savepoint reached. - upgrade_plugin_savepoint(true, 2014070301, 'editor', 'atto'); + upgrade_plugin_savepoint(true, 2014081400, 'editor', 'atto'); } return true; diff --git a/lib/editor/atto/version.php b/lib/editor/atto/version.php index 81899c55ab0..c3208c368a8 100644 --- a/lib/editor/atto/version.php +++ b/lib/editor/atto/version.php @@ -24,6 +24,6 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2014070301; // The current plugin version (Date: YYYYMMDDXX). +$plugin->version = 2014081400; // The current plugin version (Date: YYYYMMDDXX). $plugin->requires = 2014050800; // Requires this Moodle version. $plugin->component = 'editor_atto'; // Full name of the plugin (used for diagnostics). diff --git a/lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor-debug.js b/lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor-debug.js index ae82a448e75..f7771499d64 100644 --- a/lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor-debug.js +++ b/lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor-debug.js @@ -835,8 +835,8 @@ EditorAutosave.prototype = { on: { success: function(id,o) { if (typeof o.responseText !== "undefined" && - o.responseText !== "" && - o.responseText !== this.textarea.get('value')) { + o.responseText !== "" && + o.responseText !== this.textarea.get('value')) { Y.log('Autosave text found - confirm recovery.', 'debug', LOGNAME_AUTOSAVE); this.recoverText(o.responseText); } diff --git a/lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor.js b/lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor.js index 46b9e7c4025..22e51f62932 100644 --- a/lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor.js +++ b/lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor.js @@ -830,8 +830,8 @@ EditorAutosave.prototype = { on: { success: function(id,o) { if (typeof o.responseText !== "undefined" && - o.responseText !== "" && - o.responseText !== this.textarea.get('value')) { + o.responseText !== "" && + o.responseText !== this.textarea.get('value')) { this.recoverText(o.responseText); } } diff --git a/lib/editor/atto/yui/src/editor/js/autosave.js b/lib/editor/atto/yui/src/editor/js/autosave.js index 5b3202ab80c..c951c1b4e31 100644 --- a/lib/editor/atto/yui/src/editor/js/autosave.js +++ b/lib/editor/atto/yui/src/editor/js/autosave.js @@ -131,8 +131,8 @@ EditorAutosave.prototype = { on: { success: function(id,o) { if (typeof o.responseText !== "undefined" && - o.responseText !== "" && - o.responseText !== this.textarea.get('value')) { + o.responseText !== "" && + o.responseText !== this.textarea.get('value')) { Y.log('Autosave text found - confirm recovery.', 'debug', LOGNAME_AUTOSAVE); this.recoverText(o.responseText); }