To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Changeset 4489

Show
Ignore:
Timestamp:
01/20/12 14:55:48 (4 months ago)
Author:
kerry
Message:

aContactSlot's rich text editor updated from FCK to CK.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/apostropheExtraSlotsPlugin/trunk/modules/aContactSlot/templates/_editView.php

    r4296 r4489  
    1313</div> 
    1414 
     15<?php a_js_call('apostrophe.slotEnhancements(?)', array('slot' => '#a-slot-'.$pageid.'-'.$name.'-'.$permid, 'editClass' => 'a-options')) ?> 
     16 
    1517<script type="text/javascript" charset="utf-8"> 
    16 window.apostrophe.registerOnSubmit("<?php echo $id ?>",  
    17   function(slotId) 
    18   { 
    19     <?php # FCK doesn't do this automatically on an AJAX "form" submit on every major browser ?> 
    20     var value = FCKeditorAPI.GetInstance('slotform-<?php echo $id ?>-description').GetXHTML(); 
    21     $('#slotform-<?php echo $id ?>-description').val(value); 
    22   } 
    23 ); 
     18// window.apostrophe.registerOnSubmit("<?php echo $id ?>",  
     19//   function(slotId) 
     20//   { 
     21//     <?php # FCK doesn't do this automatically on an AJAX "form" submit on every major browser ?> 
     22//     var value = FCKeditorAPI.GetInstance('slotform-<?php echo $id ?>-description').GetXHTML(); 
     23//     $('#slotform-<?php echo $id ?>-description').val(value); 
     24//   } 
     25// ); 
    2426</script>