switch(content_type) {
case 'text/html' :
var jsrc = 'data:text/javascript,' + window.escape('var params = { "data" : ' + js2JSON(params.data) + ', "list" : ' + js2JSON(params.list) + '}; function my_init() { if (' + (typeof params.modal != 'undefined' ? 'true' : 'false') + ') window.print(); }');
- w = obj.win.open('data:text/html,<html><head><script src="' + window.escape(jsrc) + '"></script></head><body onload="my_init();">' + window.escape(msg) + '</body></html>','receipt_temp','chrome,resizable');
+ w = obj.win.open('data:text/html,<html><head><script src="' + window.escape(jsrc) + '"></script></head><body onload="">' + window.escape(msg) + '</body></html>','receipt_temp','chrome,resizable');
break;
default:
w = obj.win.open('data:' + content_type + ',' + window.escape(msg),'receipt_temp','chrome,resizable');
urls.XUL_PATRON_BILL_WIZARD
+ '?patron_id=' + window.escape(obj.patron_id),
'billwizard',
- 'chrome,resizable,modal'
+ 'chrome,resizable'
);
obj.refresh();
} catch(E) {
urls.XUL_PATRON_BILL_HISTORY
+ '?patron_id=' + window.escape(obj.patron_id),
'billhistory',
- 'chrome,resizable,modal'
+ 'chrome,resizable'
);
obj.OpenILS.data.init({'via':'stash'}); if (obj.OpenILS.data.temp == 'refresh') { obj.refresh(); }
} catch(E) {
urls.XUL_PATRON_BILL_HISTORY
+ '?current=1&patron_id=' + window.escape(obj.patron_id),
'billhistory',
- 'chrome,resizable,modal'
+ 'chrome,resizable'
);
obj.OpenILS.data.init({'via':'stash'}); if (obj.OpenILS.data.temp == 'refresh') { obj.refresh(); }
} catch(E) {
+ '?patron_id=' + window.escape(obj.patron_id)
+ '&mbts_id=' + window.escape(my.mobts.id()),
'test' + my.mobts.id(),
- 'modal,chrome,resizable'
+ 'chrome,resizable'
);
obj.OpenILS.data.init({'via':'stash'});
if (obj.OpenILS.data.temp == 'refresh') {
+ '?patron_id=' + window.escape(obj.patron_id)
+ '&xact_id=' + window.escape( my.mobts.id() ),
'billwizard',
- 'chrome,resizable,modal'
+ 'chrome,resizable'
);
obj.refresh();
},