GI-227
Adding a simple validation in templates/cases/cases.js to hide the unpuse buttons if we are in the gmail interface. And deleting the call to methods that make the pause cases send message.
This commit is contained in:
@@ -157,6 +157,14 @@ Ext.onReady(function(){
|
||||
tb.add(menu);
|
||||
}
|
||||
}
|
||||
|
||||
var olink = document.location.href;
|
||||
if(olink.search("gmail") != -1){
|
||||
Ext.getCmp('stepsMenu').hide();
|
||||
Ext.getCmp('informationMenu').hide();
|
||||
Ext.getCmp('actionMenu').hide();
|
||||
Ext.getCmp('caseNotes').hide();
|
||||
}
|
||||
|
||||
if (Ext.getCmp('stepsMenu').disabled === true) {
|
||||
Ext.getCmp('stepsMenu').hide();
|
||||
|
||||
Reference in New Issue
Block a user