kumarsivarajan / mollify

Automatically exported from code.google.com/p/mollify
0 stars 0 forks source link

notification plugin error #490

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
On 2.2.5
When I activate the notification plugin with:
1.
"plugins" => array(
...
            "Notificator" => array(),
2.
"enable_mail_notification" => TRUE,
3. and run the updater
When I visit the admin page I can't add a notification, the add notification 
box appears but doesn't do anything...

Here is the error from chrome:

Uncaught TypeError: Object #<Object> has no method 'showLoading' VM617:38
updateList VM617:38
onActivate VM617:82
_activateView mollify.js:4977
navBarItems.push.callback mollify.js:4955
(anonymous function) mollify.js:3370
b.event.dispatch jquery.min.js:3
v.handle

And no error in the server log...

Temporary solved by commenting the 38 line in plugin.js in 
notificator/admin/plugin.js

Original issue reported on code.google.com by noel.fro...@gmail.com on 31 Oct 2013 at 9:28

GoogleCodeExporter commented 8 years ago
That's right. Better fix would have been modifying line 18 into

            this.init = function(s, cv) {

ie add parameter "s".

Original comment by samuli.j...@gmail.com on 31 Oct 2013 at 9:34

GoogleCodeExporter commented 8 years ago
Fixed in 2.2.6

Original comment by samuli.j...@gmail.com on 1 Nov 2013 at 8:30