Questions tagged [gritter]
22 questions
0
votes
1 answer
Rails Gritter Ajax setup
OR Maybe someone knows a better flash notification system for ajax??? (edit)
I'm struggling to get the grittier( https://github.com/RobinBrouwer/gritter ) notification working with ajax, this is what I got so far:
application.html.erb
<%= gflash…

Richardlonesteen
- 584
- 5
- 18
0
votes
1 answer
Grails flash message w/ gritter
Normally the message appears by using
whenever an action is triggered.
How do you set it to appear like a gritter notification? So that say i click a submit button
${flash.message}
0
votes
1 answer
How to use Gritters in WebPages with jQuery
I want to use gritters but they don't work, they are going to the bottom of the page with no style.
I call it from a function in jquery using this:
$.gritter.add({
title: "Sucesso",
text: "O Administrador " + $nome + " foi adicionado com…

Severiano
- 1,083
- 3
- 25
- 54
0
votes
1 answer
Using jQuery Validate with Gritter Notification
I am having trouble with jquery notification formReset() with "e.preventDefault();" and gritter notifications. In my code, I am calling the eventAdd() function to the submitHandler of validator. In the eventAdd function, I am calling a gritter…

ilter
- 4,030
- 3
- 34
- 51
-1
votes
1 answer
How to load ajax from a controller function in codeigniter
I am making a codeigniter application and in this application there is a function load_notification which runs below loop. In loop when the if condition return true then notification popup should appear to user.
I am using gritter notification…

Ankit
- 627
- 1
- 9
- 22
-1
votes
1 answer
Growl notifications from delayed job
I've just broken my existing way of getting growl-style notifications from a delayed_job, and opening up someone else's gem and hacking around isn't getting me anywhere. So I wondered: what's a sensible way to get notifications from a background…

snowangel
- 3,452
- 3
- 29
- 72
-5
votes
1 answer
Passing variables for gritter gem to translate in gflash.en.yml
How do you pass a variable or argument to the gritter Ruby on Rails gem so that it can be used as part of internationalisation (i18n) replacement?
You can hard code gflash in the controller like so:
butter = 'melted'
gflash :notice => "The knob of…

random
- 9,774
- 10
- 66
- 83