|
@@ -317,6 +317,12 @@ var initMoes = function() {
|
|
|
setTimeout(function() {
|
|
|
let submitButton = $(realForm).find('[submit]');
|
|
|
if(submitButton.length) submitButton[0].scrollIntoView({behavior : "smooth", block: "nearest"});
|
|
|
+
|
|
|
+ // if any callback, trigger it
|
|
|
+ if($(realForm).is('[onshow]')) {
|
|
|
+ window[$(realForm).attr('onshow')].call($(realForm)[0]);
|
|
|
+ }
|
|
|
+
|
|
|
}, 150);
|
|
|
}, 100);
|
|
|
}
|