share/views/public/js/rbbt.modal.js in rbbt-rest-1.8.145 vs share/views/public/js/rbbt.modal.js in rbbt-rest-1.8.146
- old
+ new
@@ -57,9 +57,16 @@
ctrl.show(content, title)
ctrl.vm.url = url
})
}
+ ctrl.capture_embedded_form = function(){
+ var content = $(this.vm.element).find('> .content')
+ content.attr('target-href', this.vm.url)
+ console.log(content)
+ capture_embedded_form(content)
+ }
+
ctrl.close = function(){
ctrl.vm.visible(false)
ctrl.vm.url = undefined
$(ctrl.vm.element).removeClass('error')
$(ctrl.vm.element).removeClass('active')