Changes between Version 25 and Version 26 of AddWYSIWYGEditor


Ignore:
Timestamp:
Jul 25, 2008, 1:40:45 PM (16 years ago)
Author:
Brian Rosner
Comment:

corrected the paths in the inner Media definition to be a relative path so MEDIA_URL is prepended

Legend:

Unmodified
Added
Removed
Modified
  • AddWYSIWYGEditor

    v25 v26  
    8181
    8282    class Media:
    83         js = ('/js/tiny_mce/tiny_mce.js',
    84               '/js/tiny_mce/textarea.js',)
     83        js = ('js/tiny_mce/tiny_mce.js',
     84              'js/tiny_mce/textarea.js',)
    8585
    8686admin.site.register(MyModel, MyModelOptions)
     
    118118class FlatPageAdmin(admin.ModelAdmin):
    119119    class Media:
    120         js = ('/js/tiny_mce/tiny_mce.js',
    121               '/js/tiny_mce/textarea.js',)
     120        js = ('js/tiny_mce/tiny_mce.js',
     121              'js/tiny_mce/textarea.js',)
    122122
    123123# We have to unregister it, and then reregister
     
    143143        height : "500",
    144144}}}
     145
Back to Top