From e65d93efdf5efafb4738fea72b356fffaf359254 Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 10 Feb 2022 12:02:17 +0530 Subject: [PATCH 1/4] simplify dropdown content sanitization --- www/common/common-ui-elements.js | 88 ++++++++++++++++++-------- www/common/drive-ui.js | 55 ++++++++++++---- www/common/sframe-app-framework.js | 2 +- www/common/sframe-common-codemirror.js | 4 +- 4 files changed, 104 insertions(+), 45 deletions(-) diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 5e05e23f4..4b39b6aa2 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -1420,9 +1420,20 @@ define([ } // Button - var $button = $('