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 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/program/js/app.js b/program/js/app.js
index f4ec7f3..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)

--
Gitblit v1.9.1