Ignore:
Timestamp:
12 Nov 2011, 21:14:46 (13 years ago)
Author:
Henrik Bettermann
Message:

Remove self.context._p_changed = True. In my opinion it's not necessary here.

Define default image paths on waeup.sirp.browser/init.py. We need the same definitions for other packages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/__init__.py

    r4920 r7094  
     1import os
     2
    13from waeup.sirp.browser.layout import (
    24    WAeUPPage, WAeUPLayout, WAeUPDisplayFormPage, WAeUPEditFormPage,
    35    WAeUPAddFormPage, NullValidator)
     6
     7IMAGE_PATH = os.path.join(
     8    os.path.dirname(__file__),
     9    'static'
     10    )
     11
     12#: Filesystem paths to default images
     13DEFAULT_IMAGE_PATH = os.path.join(IMAGE_PATH, 'placeholder_m.jpg')
     14DEFAULT_PASSPORT_IMAGE_PATH = os.path.join(IMAGE_PATH, 'placeholder_m.jpg')
Note: See TracChangeset for help on using the changeset viewer.