MDL-18014 Atto autosave: Redo version bump after rebase
authorDamyon Wiese <damyon@moodle.com>
Thu, 14 Aug 2014 04:38:12 +0000 (12:38 +0800)
committerDamyon Wiese <damyon@moodle.com>
Thu, 14 Aug 2014 04:44:01 +0000 (12:44 +0800)
lib/editor/atto/db/upgrade.php
lib/editor/atto/version.php
lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor-debug.js
lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor.js
lib/editor/atto/yui/src/editor/js/autosave.js

index d26776a..2050328 100644 (file)
@@ -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;
index 81899c5..c3208c3 100644 (file)
@@ -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).
index ae82a44..f777149 100644 (file)
Binary files a/lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor-debug.js and b/lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor-debug.js differ
index 46b9e7c..22e51f6 100644 (file)
Binary files a/lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor.js and b/lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor.js differ
index 5b3202a..c951c1b 100644 (file)
@@ -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);
                     }