summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
Diffstat (limited to 'program/js')
-rw-r--r--program/js/app.js6
-rw-r--r--program/js/googiespell.js4
-rw-r--r--program/js/list.js2
3 files changed, 5 insertions, 7 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 253d8591d..dfd7c9f87 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -50,7 +50,6 @@ function rcube_webmail()
this.env.request_timeout = 180; // seconds
this.env.draft_autosave = 0; // seconds
this.env.comm_path = './';
- this.env.bin_path = './bin/';
this.env.blankpage = 'program/blank.gif';
// set jQuery ajax options
@@ -4825,8 +4824,7 @@ function rcube_webmail()
}
// replace quota image
- obj.innerHTML = '';
- $(obj).append(bar1).append(bar2).append(main);
+ $(obj).html('').append(bar1).append(bar2).append(main);
};
/********************************************************/
@@ -4836,7 +4834,7 @@ function rcube_webmail()
this.html2plain = function(htmlText, id)
{
var rcmail = this,
- url = this.env.bin_path + 'html2text.php';
+ url = '?_task=utils&_action=html2text';
this.set_busy(true, 'converting');
console.log('HTTP POST: ' + url);
diff --git a/program/js/googiespell.js b/program/js/googiespell.js
index 5f201b7a1..c7be29e57 100644
--- a/program/js/googiespell.js
+++ b/program/js/googiespell.js
@@ -855,9 +855,9 @@ this.flashNoSpellingErrorState = function(on_finish) {
no_spell_errors = function () { ref.checkSpellingState() };
var rsm = $('<span>').text(this.lang_no_error_found);
-
+
$(this.switch_lan_pic).hide();
- $(this.spell_span).empty().append(rsm)
+ $(this.spell_span).empty().append(rsm)
.removeClass().addClass('googie_check_spelling_ok');
window.setTimeout(no_spell_errors, 1000);
diff --git a/program/js/list.js b/program/js/list.js
index 42149d6a1..8cfd05e49 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -1315,7 +1315,7 @@ add_dragfix: function()
})
.css($(this).offset())
.appendTo(document.body);
- });
+ });
},