Skip to content

Commit

Permalink
Fixed issue 05529: CKeditor positioning when editing a the survey set…
Browse files Browse the repository at this point in the history
…tings

Dev Dynamically added a class to the editors parent UL element so we can set a min-width

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_ci@11261 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Tony Partner committed Oct 25, 2011
1 parent 1de8090 commit 1b6ee91
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion application/helpers/admin/htmleditor_helper.php
Expand Up @@ -184,7 +184,9 @@ function getInlineEditor($fieldtype,$fieldname,$fieldtext, $surveyID=null,$gID=n
,smiley_path : \"".$CI->config->item('uploadurl')."/images/smiley/msn/\"\n"
. $htmlformatoption
. $toolbaroption
."});});";
."});
\$('#$fieldname').parents('ul:eq(0)').addClass('editor-parent');
});";


$htmlcode.= '</script>';
Expand Down
4 changes: 3 additions & 1 deletion styles/admin/default/adminstyle.css
Expand Up @@ -1101,7 +1101,9 @@ textarea.updater-changelog {
padding-bottom:5px;
}


.form30 ul.editor-parent {
min-width:1000px;
}

#frmeditquestion li,
#importquestion li {
Expand Down

0 comments on commit 1b6ee91

Please sign in to comment.