From 249db18585959c9ab3e09b6e91f8fec7cd32e9d0 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Fri, 01 Oct 2010 03:49:54 -0400 Subject: [PATCH] - Fix "Server Error! (Not Found)" when using utils/save-pref action (#1487023) --- program/js/app.js | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/program/js/app.js b/program/js/app.js index e3ad4b0..f4e8e2f 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -1294,7 +1294,7 @@ } } - this.http_post('utils/save-pref', '_name=collapsed_folders&_value='+urlencode(this.env.collapsed_folders)); + this.http_post('save-pref', '_name=collapsed_folders&_value='+urlencode(this.env.collapsed_folders)); this.set_unread_count_display(id, false); }; @@ -1465,7 +1465,7 @@ if ((found = $.inArray('subject', this.env.coltypes)) >= 0) this.set_env('subject_col', found); - this.http_post('utils/save-pref', { '_name':'list_cols', '_value':this.env.coltypes, '_session':'list_attrib/columns' }); + this.http_post('save-pref', { '_name':'list_cols', '_value':this.env.coltypes, '_session':'list_attrib/columns' }); }; this.check_droptarget = function(id) @@ -3635,7 +3635,6 @@ } }; - this.delete_contacts = function() { // exit if no mailbox specified or if selection is empty @@ -3725,7 +3724,6 @@ this.enable_command('export', (this.contact_list.rowcount > 0)); }; - this.group_create = function() { @@ -3860,7 +3858,7 @@ if (li && (link = li.firstChild) && link.tagName.toLowerCase() == 'a') link.innerHTML = prop.name; - this.env.contactfolders[key].name = this.env.contactgroups[key].name = name; + this.env.contactfolders[key].name = this.env.contactgroups[key].name = prop.name; this.triggerEvent('group_update', { id:prop.id, source:prop.source, name:prop.name, li:li[0] }); }; -- Gitblit v1.9.1