var join = (idx == 0) ? '?' : '&';
path += join + "attach_" + self.which + "=" + id;
});
- if (openils.XUL.isXUL()) {
+ if (openils.XUL.isXUL() && !window.IAMBROWSER) {
openils.XUL.newTabEasy(
path,
/* tab title */ dojo.string.substitute(
}
var path = oilsBasePath + '/acq/invoice/view?create=1';
dojo.forEach(liIds, function(li, idx) { path += '&attach_li=' + li });
- if (openils.XUL.isXUL())
+ if (openils.XUL.isXUL() && !window.IAMBROWSER)
openils.XUL.newTabEasy(path, localeStrings.NEW_INVOICE, null, true);
else
location.href = path;
var searchObject = termManager.buildSearchObject();
- if (openils.XUL.isXUL()) {
+ if (openils.XUL.isXUL() && !window.IAMBROWSER) {
cookieSvc.setCookieString(cookieUriSSL, null,
"invs=" + base64Encode(searchObject) + ';max-age=2592000', null);
var searchObject, searchConjunction;
- if (openils.XUL.isXUL()) {
+ if (openils.XUL.isXUL() && !window.IAMBROWSER) {
if (!cookieSvc) {