Skip to content

Commit

Permalink
Merge pull request #156 from fanf/bug_3411/error_notification_are_not…
Browse files Browse the repository at this point in the history
…_displayed_in_rule_edit_form

Fixes #3411: display error notification in rule edit form
  • Loading branch information
ncharles committed Apr 11, 2013
2 parents d264839 + 2ba16cd commit f9f8c5e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ class RuleEditForm(
</ul>
</div> } &
"#save" #> saveButton &
"#notification *" #> updateAndDisplayNotifications(formTracker) &
"#notifications" #> updateAndDisplayNotifications(formTracker) &
"#editForm [id]" #> htmlId_rule
)(crForm) ++
Script(OnLoad(JsRaw("""
Expand Down Expand Up @@ -649,7 +649,7 @@ class RuleEditForm(
formTracker.cleanErrors

if(notifications.isEmpty) {
NodeSeq.Empty
<div id="notifications" />
}
else {
val html =
Expand Down

0 comments on commit f9f8c5e

Please sign in to comment.