Monotone-Parent: bdc770e039bce1273bf76acc5e48dd7006974831

Monotone-Revision: 0c72d1fc3fd84d0415e106b3b511f86237676bdb

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2008-02-01T18:44:58
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2008-02-01 18:44:58 +00:00
parent 480dc6ff86
commit 3c292c566f
7 changed files with 98 additions and 1 deletions
+27
View File
@@ -163,6 +163,16 @@
return [self redirectToLocation: newLocation];
}
- (WOResponse *) getDragHandlesStateAction
{
NSString *dragHandles;
[self _setupContext];
dragHandles = [moduleSettings objectForKey: @"DragHandles"];
return [self responseWithStatus: 200 andString: dragHandles];
}
- (WOResponse *) getFoldersStateAction
{
NSString *expandedFolders;
@@ -173,6 +183,23 @@
return [self responseWithStatus: 200 andString: expandedFolders];
}
- (WOResponse *) saveDragHandlesStateAction
{
WORequest *request;
NSString *dragHandles;
[self _setupContext];
request = [context request];
dragHandles = [request formValueForKey: @"dragHandles"];
[moduleSettings setObject: dragHandles
forKey: @"DragHandles"];
[ud synchronize];
return [self responseWithStatus: 204];
}
- (WOResponse *) saveFoldersStateAction
{
WORequest *request;