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:
Mike Hatfield
2007-12-20 17:24:22 +00:00
parent 8e6fd7a7c1
commit a49ac713cd
22 changed files with 101 additions and 79 deletions

View File

@@ -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'},