Office Web Scripts - Updates and bug fixes

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6222 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mike Hatfield
2007-07-12 10:49:48 +00:00
parent 7ad3e3820e
commit c4ab1f89ff
9 changed files with 87 additions and 70 deletions

View File

@@ -5,6 +5,8 @@
*/
var OfficeMyTasks =
{
fileExtn: "doc",
init: function()
{
OfficeAddin.sortTasks($('taskList'));
@@ -102,7 +104,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(/\./, "$");
var actionURL = window.serviceContextPath + "/office/myTasksDetail?t=" + task.id.replace(/\./, "$") + "&e=" + OfficeMyTasks.fileExtn;
var myAjax = new Ajax(actionURL, {
method: 'get',
headers: {'If-Modified-Since': 'Sat, 1 Jan 2000 00:00:00 GMT'},