MDL-18014 Atto autosave: Redo version bump after rebase

This commit is contained in:
Damyon Wiese 2014-08-14 12:38:12 +08:00
parent 56579fb68b
commit d8733567ee
5 changed files with 9 additions and 9 deletions

View 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;

View 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).

View File

@ -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);
}

View File

@ -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);
}
}

View 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);
}