santitize, popup class

This commit is contained in:
_Bastler
2021-10-28 19:15:02 +02:00
parent 24ac439fa1
commit 7fb13cf54b
7 changed files with 43 additions and 19 deletions
+2 -2
View File
@@ -146,9 +146,9 @@ const wa = {
/**
* @deprecated Use WA.ui.openPopup instead
*/
openPopup(targetObject: string, message: string, buttons: ButtonDescriptor[], input : boolean): Popup {
openPopup(targetObject: string, message: string, buttons: ButtonDescriptor[], popupClass : string, input : boolean): Popup {
console.warn('Method WA.openPopup is deprecated. Please use WA.ui.openPopup instead');
return ui.openPopup(targetObject, message, buttons, input);
return ui.openPopup(targetObject, message, buttons, popupClass, input);
},
/**
* @deprecated Use WA.chat.onChatMessage instead