How to make legacy extension (tfs2013) work in tfs2015 update 2?

后端 未结 1 1693
离开以前
离开以前 2021-01-24 08:45

We had this extension working under tfs 2013 that simply hides the quick add panel for backlog items (see code below). The code stopped working after we updated the server to tf

1条回答
  •  粉色の甜心
    2021-01-24 08:56

    Your manifest needs to be updated to load at a more specific time and with the right TFS version (14.0):

    
      
       
         
         
       
      
    
    

    And I updated the javascript code to:

    TFS.module("HideAddPanel", [ "VSS\\Utils\\Core",
            "VSS\\Utils\\UI"], function () { 
       $(".panel-region").hide();
       $("#mi_51").hide(); // Hides the New button.
    });
    

    This seems to work for me.

    0 讨论(0)
提交回复
热议问题