Skip to content

Commit

Permalink
remove additional class and text in statusmessages
Browse files Browse the repository at this point in the history
  • Loading branch information
pbauer committed Jul 20, 2015
1 parent 2427cbd commit 9dde7a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plone/dexterity/browser/add.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def handleAdd(self, action):
# mark only as finished if we get the new object
self._finishedAdd = True
IStatusMessage(self.request).addStatusMessage(
self.success_message, "info success"
self.success_message, "info"
)

@button.buttonAndHandler(_(u'Cancel'), name='cancel')
Expand Down
2 changes: 1 addition & 1 deletion plone/dexterity/browser/edit.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def handleApply(self, action):
return
self.applyChanges(data)
IStatusMessage(self.request).addStatusMessage(
self.success_message, "info success"
self.success_message, "info"
)
self.request.response.redirect(self.nextURL())
notify(EditFinishedEvent(self.context))
Expand Down

0 comments on commit 9dde7a4

Please sign in to comment.