- this.scriptlets["insert_stanza"] = function(context, params, text, move_forward, done) {
+ this.scriptlets["insert_stanza"] = function(context, params, text, move_forward, move_up, done) {
+ var padding_top = '';
+ for (var i=params.padding_top; i; i--)
+ padding_top += '\n';
+
+ var padding_bottom = '';
+ for (var i=params.padding_bottom; i; i--)
+ padding_bottom += '\n';
+