mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fixes for AR-1940. Extension was being lost and defaulting back to ".doc" which meant webdav links were being built incorrectly for Excel and PowerPoint.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7722 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -5,8 +5,6 @@
|
||||
*/
|
||||
var OfficeMyTasks =
|
||||
{
|
||||
fileExtn: "doc",
|
||||
|
||||
init: function()
|
||||
{
|
||||
OfficeAddin.sortTasks($('taskList'));
|
||||
@@ -104,7 +102,7 @@ var OfficeMyTasks =
|
||||
OfficeAddin.showStatusText("Loading task...", "ajax_anim.gif", false);
|
||||
|
||||
// ajax call to load task details
|
||||
var actionURL = window.serviceContextPath + "/office/myTasksDetail?t=" + task.id.replace(/\./, "$") + "&e=" + OfficeMyTasks.fileExtn;
|
||||
var actionURL = window.serviceContextPath + "/office/myTasksDetail" + OfficeAddin.defaultQuery + "&t=" + task.id.replace(/\./, "$");
|
||||
var myAjax = new Ajax(actionURL, {
|
||||
method: 'get',
|
||||
headers: {'If-Modified-Since': 'Sat, 1 Jan 2000 00:00:00 GMT'},
|
||||
|
Reference in New Issue
Block a user