FileBrowser: Set HazaarCWD cookie path when setting cookie #54

Closed
opened 2016-02-11 11:23:56 +00:00 by jamie · 1 comment
jamie commented 2016-02-11 11:23:56 +00:00 (Migrated from git.hazaar.io)

The path is currently getting set as the same as the current page path on which the browser is being loaded. We should leave this as the default action, but allow a path to be set in the filebrowser widget so that the root path of the application can be set if needed. This will make the cookie application wide rather then getting overwritten and reset each time.

This is done with:

document.cookie = "name=value;path=/";
The path is currently getting set as the same as the current page path on which the browser is being loaded. We should leave this as the default action, but allow a path to be set in the filebrowser widget so that the root path of the application can be set if needed. This will make the cookie application wide rather then getting overwritten and reset each time. This is done with: ``` document.cookie = "name=value;path=/"; ```
jamie commented 2016-02-12 04:18:24 +00:00 (Migrated from git.hazaar.io)

Status changed to closed

Status changed to closed
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: hazaar/hazaar-mvc-old#54
No description provided.