public/rails_ext/rails_ext.js in rails-ext-0.2.11 vs public/rails_ext/rails_ext.js in rails-ext-0.2.12
- old
+ new
@@ -44,10 +44,14 @@
try{
this.jGrowl(message);
}catch(e){console.log(e)};
},
+ message: function(msg){
+ $.infoMessage(msg)
+ },
+
errorMessage: function(message){
try{
this.jGrowl(message);
}catch(e){console.log(e)};
},
@@ -201,9 +205,18 @@
this.attr(attr_name, value);
}else{
return this.attr(attr_name);
}
}
+});
+
+
+//
+// JS for CSS
+//
+$.extend({
+ // Should be overrided by actual js for css refresh
+ refresh_js_css: function(){}
});
//
// link_to
\ No newline at end of file