From f46754cd1a54826fc7077438016eb66c944a584e Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 8 Oct 2013 10:08:09 +0000 Subject: [PATCH] remove href="javascript:void(0)" in favor of href="#" working with CSP --- etemplate/js/et2_widget_dropdown_button.js | 16 ++++++++-------- etemplate/js/et2_widget_url.js | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/etemplate/js/et2_widget_dropdown_button.js b/etemplate/js/et2_widget_dropdown_button.js index 56f5c69ebe..d4e681d228 100644 --- a/etemplate/js/et2_widget_dropdown_button.js +++ b/etemplate/js/et2_widget_dropdown_button.js @@ -104,13 +104,13 @@ var et2_dropdown_button = et2_inputWidget.extend( * Default menu, so there is something for the widget browser / editor to show */ default_menu: '', /** @@ -336,16 +336,16 @@ var et2_dropdown_button = et2_inputWidget.extend( var item; if(typeof options[key] == "string") { - item = $j("
  • "+options[key]+"
  • "); + item = $j("
  • "+options[key]+"
  • "); } else if (options[key]["label"]) { - item =$j("
  • "+options[key]["label"]+"
  • "); + item =$j("
  • "+options[key]["label"]+"
  • "); } // Optgroup else { - item = $j("
  • "+key+"
  • "); + item = $j("
  • "+key+"
  • "); add_complex(node.append("