Patching Team System Web Access breaks Font and Size buttons in Work Item Edit UI 

Tags: WebAccess

The latest release 9.1 (full install only) of Team System Web Access has introduced a bug in the UI of the edit work item window, limiting the functionality of the text formatting options such as Font and Size. To remedy this problem, a manual fix is required. Introduce the following javascript code snippet (courtesy of Microsoft) at the end of EditWorkItem.js and SendAsEmail.js (after backing the files up), located in the INSTALLDIR\Web\Resources\Scripts folder.

 

var _existingPreventDefault = JsUtility.preventDefault;

JsUtility.preventDefault = function(e)

{

_existingPreventDefault();

 

if (!e && window.event)

{

e = window.event;

}

 

if (e && e.type=="click")

{

if (e.stopPropagation)

{

e.stopPropagation();

}

else

{

e.cancelBubble = true;

}

}

}

 

Verify that the changes to the files rectify the problem for your users.

 
Posted by Gustav Sjöberg on 15-Jan-10 | Bookmark this post with:        
 
Name:
URL:
Email:
Comments: