View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
07312Bug reportsOtherpublic2013-03-11 15:03
Reporterryanny Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Fixed in Version2.00+ 
Summary07312: Fixed cannot switch between email templates tabs
Description

===Browser Console===
DateTime: 2013/2/20 AM 10:39:18
Error: ReferenceError: TW is not defined
Source: http://localhost/scripts/admin/emailtemplates.js
Line: 26

Steps To Reproduce
  1. Login as admin
  2. Get into a survey of the page of "emailtemplates".
  3. Found the javascript error as "Description" in the console of browsers.
Additional Information

Used Version 2.00+ Build 130129,
Language Chinese Traditional Taiwan

TagsNo tags attached.
Attached Files
emailtemplates.patch (496 bytes)   
--- emailtemplates.old.js	Wed Feb 20 10:36:27 2013
+++ emailtemplates.js	Wed Feb 20 10:45:07 2013
@@ -22,7 +22,7 @@
    }
    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();");
    }
 }
emailtemplates.patch (496 bytes)   
Bug heat4
Complete LimeSurvey version number (& build)130129
I will donate to the project if issue is resolved
Browser
Database type & version
Server OS (if known)
Webserver software & version (if known)
PHP Version

Users monitoring this issue

ryanny

Activities

c_schmitz

c_schmitz

2013-03-05 12:42

administrator   ~24544

Thank you!

c_schmitz

c_schmitz

2013-03-05 12:47

administrator   ~24546

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=11770

c_schmitz

c_schmitz

2013-03-07 22:39

administrator   ~24573

Fix committed to 2.05 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=11792

c_schmitz

c_schmitz

2013-03-11 15:03

administrator   ~24626

2.00+ build 130311 released

Related Changesets

LimeSurvey: master d589b249

2013-03-05 11:42:15

c_schmitz

Details Diff
Fixed issue 07312: Cannot switch between email template tabs Affected Issues
07312
mod - scripts/admin/emailtemplates.js Diff File

LimeSurvey: 2.05 c39de350

2013-03-05 11:42:15

c_schmitz

Details Diff
Fixed issue 07312: Cannot switch between email template tabs Affected Issues
07312
mod - scripts/admin/emailtemplates.js Diff File

Issue History

Date Modified Username Field Change
2013-02-20 04:10 ryanny New Issue
2013-02-20 04:10 ryanny File Added: emailtemplates.patch
2013-02-20 04:19 ryanny Issue Monitored: ryanny
2013-03-05 12:41 c_schmitz Project @2@ => Bug reports
2013-03-05 12:41 c_schmitz Category Admin Tools => Other issues
2013-03-05 12:41 c_schmitz Assigned To => c_schmitz
2013-03-05 12:41 c_schmitz Status new => assigned
2013-03-05 12:42 c_schmitz Note Added: 24544
2013-03-05 12:42 c_schmitz Status assigned => resolved
2013-03-05 12:42 c_schmitz Fixed in Version => 2.00+
2013-03-05 12:42 c_schmitz Resolution open => fixed
2013-03-05 12:47 c_schmitz Changeset attached => LimeSurvey master d589b249
2013-03-05 12:47 c_schmitz Note Added: 24546
2013-03-07 22:39 c_schmitz Changeset attached => LimeSurvey 2.05 c39de350
2013-03-07 22:39 c_schmitz Note Added: 24573
2013-03-11 15:03 c_schmitz Note Added: 24626
2013-03-11 15:03 c_schmitz Status resolved => closed
2021-08-03 03:34 guest Bug heat 2 => 4