Notifications
Clear all

Story Notes: toggle box spawns

7 Posts
2 Users
0 Reactions
2,538 Views
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
Topic starter
 

If you add or edit a chapter, the TinyMCE check box to toggle it on and off is broken.

When you click the check box it toggles another TinyMCE box below it.

http://www.potionsandsnitches.net/fanfiction/stories.php?action=newstory


Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 14/12/2006 10:28 pm
(@tammy)
Posts: 2577
Member Moderator
 

It's not doing that for me. Even on your site.


 
Posted : 14/12/2006 11:21 pm
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
Topic starter
 

Okay I cleared my cache and cookies and it no longer does it. It must have been from editing so many stories, something got switched. Sorry. XD


Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 15/12/2006 12:18 am
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
Topic starter
 

No, It did it again!

You have to edit a story.

Go here: http://www.potionsandsnitches.net/fanfiction/stories.php?action=editchapter&chapid=1507&admin=1

Change the story text box to plain text box. Copy some text. go up to chapter notes and click on the check mark box. it creates a second box.

It doesn't seem to be truning one of them off. The firts one turns into the plain text box, and below it in a new tinyMCE box.


Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 15/12/2006 12:20 am
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
Topic starter
 

This is a bug with TinyMCE, not with the eFiction script using it. Don't expect a bug fix.


Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 28/12/2006 4:16 pm
(@tammy)
Posts: 2577
Member Moderator
 

It's a bug in the toggle.  I think I've got it working locally on my test site.  Next update we'll see if it works for everyone.  If you want to try the fix before then open header.php and replace the toggleEditorMode function (starts on line 211)


function toogleEditorMode(id) {
var elm = document.getElementById(id);

if (tinyMCE.getInstanceById(id) == null)
tinyMCE.execCommand('mceAddControl', false, id);
else
tinyMCE.execCommand('mceRemoveControl', false, id);
}


 
Posted : 28/12/2006 5:44 pm
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
Topic starter
 

I think that this is fixed! Thank you Tammy! πŸ˜€


Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 17/01/2007 10:23 pm
Share: