Merge pull request #2151 from dhardtke/csp_fixes
fix select2 csp errors / warnings
This commit is contained in:
commit
ec97c818c8
@ -1858,7 +1858,7 @@ the specific language governing permissions and limitations under the Apache Lic
|
|||||||
var container = $(document.createElement("div")).attr({
|
var container = $(document.createElement("div")).attr({
|
||||||
"class": "select2-container"
|
"class": "select2-container"
|
||||||
}).html([
|
}).html([
|
||||||
"<a href='javascript:void(0)' onclick='return false;' class='select2-choice' tabindex='-1'>",
|
"<a href='javascript:void(0)' class='select2-choice' tabindex='-1'>",
|
||||||
" <span class='select2-chosen'> </span><abbr class='select2-search-choice-close'></abbr>",
|
" <span class='select2-chosen'> </span><abbr class='select2-search-choice-close'></abbr>",
|
||||||
" <span class='select2-arrow' role='presentation'><b role='presentation'></b></span>",
|
" <span class='select2-arrow' role='presentation'><b role='presentation'></b></span>",
|
||||||
"</a>",
|
"</a>",
|
||||||
@ -2921,7 +2921,7 @@ the specific language governing permissions and limitations under the Apache Lic
|
|||||||
enabledItem = $(
|
enabledItem = $(
|
||||||
"<li class='select2-search-choice'>" +
|
"<li class='select2-search-choice'>" +
|
||||||
" <div></div>" +
|
" <div></div>" +
|
||||||
" <a href='#' onclick='return false;' class='select2-search-choice-close' tabindex='-1'></a>" +
|
" <a href='#' class='select2-search-choice-close' tabindex='-1'></a>" +
|
||||||
"</li>"),
|
"</li>"),
|
||||||
disabledItem = $(
|
disabledItem = $(
|
||||||
"<li class='select2-search-choice select2-locked'>" +
|
"<li class='select2-search-choice select2-locked'>" +
|
||||||
|
Loading…
Reference in New Issue
Block a user