Fix ie behaviour
(fa tanto cool
)
std.js
Codice PHP:
/* Job */
function buildError(el,msg,_id){
var showError= _createElement(el,{id:_id});
showError.className='show-error';
showError.appendChild(_createTextNode(msg));
return showError;
}
ManageTags.js
Codice PHP:
//fix ie bug
try{
inputList.item(i).setAttribute('type','button');
}
catch(e){
var _value= inputList.item(i).value;
var _class= inputList.item(i).className;
inputList.item(i).outerHTML='<input name="tag_action" type="button" value="'+_value+'" class="'+_class+'" id="'+currentTagId+'" />';
}