Created
June 5, 2009 05:31
-
-
Save c9s/124092 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: lib/Jifty/Web.pm | |
=================================================================== | |
--- lib/Jifty/Web.pm (revision 6773) | |
+++ lib/Jifty/Web.pm (working copy) | |
@@ -995,6 +995,11 @@ | |
%results = ($only_moniker => $results{$only_moniker}) if $only_moniker; | |
return unless grep {$_->$type()} values %results; | |
+ | |
+ # * skip render notification message if we are in in fragments, the notification | |
+ # will show up from jifty.update function | |
+ # * for non-region updates , we render the messages and app_behaviour | |
+ # transform the message to jQuery Growl | |
+ return if( $self->current_region ); | |
my $plural = $type . "s"; | |
$self->out(qq{<div class="jifty results messages" id="$plural">}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment