mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Input Type Switch Button: No interprets HTML entities code for left triangle (⨞) after switching element type once (wasn't being parsed as an HTML entity, but displayed literally).
This commit is contained in:
@@ -365,8 +365,9 @@ require_once "resources/require.php";
|
||||
tb.value=obj.options[obj.selectedIndex].value;
|
||||
tbb=document.createElement('INPUT');
|
||||
tbb.setAttribute('class', 'btn');
|
||||
tbb.setAttribute('style', 'margin-left: 4px;');
|
||||
tbb.type='button';
|
||||
tbb.value='⨞';
|
||||
tbb.value=$("<div />").html('⨞').text();
|
||||
tbb.objs=[obj,tb,tbb];
|
||||
tbb.onclick=function(){ replace_param(this.objs); }
|
||||
obj.parentNode.insertBefore(tb,obj);
|
||||
|
||||
Reference in New Issue
Block a user