share/views/public/js/rbbt.modal.js in rbbt-rest-1.6.14 vs share/views/public/js/rbbt.modal.js in rbbt-rest-1.6.15
- old
+ new
@@ -26,16 +26,18 @@
controller.show = function(content, title){
controller._set(content, title)
$(rbbt.modal.element).addClass('active')
m.redraw()
+ update_rbbt()
}
controller.error = function(content, title){
controller._set(content, title)
$(rbbt.modal.element).addClass('active')
$(rbbt.modal.element).addClass('error')
m.redraw()
+ update_rbbt()
}
controller.show_url = function(url, title){
if (typeof url == 'string') params = {url: url, method: 'GET',deserialize: function(v){return v}}