Skip to content

Commit

Permalink
Dev: ckeditor lack of icon for videodetect plugin (replace Youtube)
Browse files Browse the repository at this point in the history
Dev: no update of class needed for form-control with popup
  • Loading branch information
Shnoulle committed Nov 23, 2016
1 parent b7cd780 commit 49c4628
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion application/views/admin/htmleditor/pop_editor_view.php
Expand Up @@ -97,7 +97,6 @@ function close_editor()
html_transfert();

window.opener.document.getElementsByName('<?php echo $sFieldName; ?>')[0].readOnly= false;
window.opener.document.getElementsByName('<?php echo $sFieldName; ?>')[0].className='htmlinput form-control input-lg';
window.opener.document.getElementById('<?php echo $sControlIdEna; ?>').style.display='';
window.opener.document.getElementById('<?php echo $sControlIdDis; ?>').style.display='none';
window.opener.focus();
Expand Down
2 changes: 0 additions & 2 deletions application/views/admin/survey/prepareEditorScript_view.php
Expand Up @@ -39,7 +39,6 @@ function find_popup_editor(fieldname)

function start_popup_editor(fieldname, fieldtext, sid, gid, qid, fieldtype, action)
{
console.log('gid'+gid);
controlidena = fieldname + '_popupctrlena';
controliddis = fieldname + '_popupctrldis';
numwindows = editorwindowsHash.length;
Expand All @@ -48,7 +47,6 @@ function start_popup_editor(fieldname, fieldtext, sid, gid, qid, fieldtype, acti
if (activepopup == null)
{
document.getElementsByName(fieldname)[0].readOnly=true;
document.getElementsByName(fieldname)[0].className='readonly form-control input-lg';
document.getElementById(controlidena).style.display='none';
document.getElementById(controliddis).style.display='';

Expand Down

0 comments on commit 49c4628

Please sign in to comment.