1
0
mirror of synced 2024-11-22 21:16:10 +03:00

Merge pull request #2151 from dhardtke/csp_fixes

fix select2 csp errors / warnings
This commit is contained in:
Kevin Brown 2014-02-27 14:18:00 -05:00
commit ec97c818c8

View File

@ -1858,7 +1858,7 @@ the specific language governing permissions and limitations under the Apache Lic
var container = $(document.createElement("div")).attr({
"class": "select2-container"
}).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'>&nbsp;</span><abbr class='select2-search-choice-close'></abbr>",
" <span class='select2-arrow' role='presentation'><b role='presentation'></b></span>",
"</a>",
@ -2921,7 +2921,7 @@ the specific language governing permissions and limitations under the Apache Lic
enabledItem = $(
"<li class='select2-search-choice'>" +
" <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>"),
disabledItem = $(
"<li class='select2-search-choice select2-locked'>" +