2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Updated to Limesurvey 1.91+ Revision 11132

This commit is contained in:
azammitdcarf
2011-10-10 01:32:52 +00:00
parent 859396b9d0
commit 4e93b2e0ca
18 changed files with 290 additions and 202 deletions

View File

@@ -1,6 +1,7 @@
//$Id: admin_core.js 10855 2011-08-26 13:30:41Z mot3 $
$(document).ready(function(){
setupAllTabs();
if(typeof(userdateformat) !== 'undefined')
{
$(".popupdate").datepicker({ dateFormat: userdateformat,

View File

@@ -10,8 +10,8 @@ $(document).ready(function(){
/**
* This function loads each FCKeditor only when the tab is clicked and only if it is not already loaded
*/
function loadHTMLEditor(event, ui)
{
function loadHTMLEditor(event, ui)
{
if (typeof ui.panel.selector != 'undefined')
{
sSelector=ui.panel.selector;
@@ -22,18 +22,18 @@ function loadHTMLEditor(event, ui)
}
if ($(sSelector+' iframe').size()==0)
{
sCKEditorInstanceName='oFCKeditor_'+$(sSelector+' textarea').attr('id').replace(/-/i, "_");
sCKEditorInstanceName='oFCKeditor_'+$(sSelector+' textarea').attr('id').replace(/-/g, "_");
eval("if (typeof "+sCKEditorInstanceName+" != 'undefined')"+sCKEditorInstanceName+".ReplaceTextarea();");
}
}
function fillin(tofield, fromfield)
{
if (confirm(sReplaceTextConfirmation))
if (confirm(sReplaceTextConfirmation))
{
if (document.getElementById(tofield).readOnly == false)
{
$('#'+tofield).val($('#'+fromfield).val());
{
$('#'+tofield).val($('#'+fromfield).val());
}
updateCKeditor(tofield,$('#'+fromfield).val());