projects
/
Portfolio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bugfix.
[Portfolio.git]
/
skins
/
portfolio_move_photos.py
diff --git
a/skins/portfolio_move_photos.py
b/skins/portfolio_move_photos.py
index
99c8ba1
..
afee01d
100644
(file)
--- a/
skins/portfolio_move_photos.py
+++ b/
skins/portfolio_move_photos.py
@@
-11,7
+11,12
@@
if container_type == 'portfolio' :
dropId = uidh.getBrain(int(fg('afterUid'))).getId
uids = fg('uids', [])
ids = [uidh.getBrain(uid).getId for uid in uids]
dropId = uidh.getBrain(int(fg('afterUid'))).getId
uids = fg('uids', [])
ids = [uidh.getBrain(uid).getId for uid in uids]
- context.moveObjectsAfter(ids, dropId)
+ context.REQUEST.RESPONSE.setHeader('Content-Type', 'text/xml;;charset=utf-8')
+ try :
+ context.moveObjectsAfter(ids, dropId)
+ return '<ok/>'
+ except NotImplementedError :
+ raise
return printed
return printed