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

Changeset 1067

Show
Ignore:
Timestamp:
04/26/10 17:33:33 (22 months ago)
Author:
dordille
Message:

Refresh the blog editor when the user changes the template.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/apostropheBlogPlugin/trunk/web/js/aBlog.js

    r1062 r1067  
    6363                        // We need to provide a scope or context to the ajax event 
    6464 
    65                         // if ( the Template has changed ) { 
    66                         // updateTemplate(data.template, data.feedback); 
    67                         // }; 
     65      if ( typeof(data.modified.template) != "undefined" ) { 
     66        updateTemplate(data.template, data.feedback); 
     67      }; 
    6868 
    6969                        // if ( the Comments has changed ) {