Plugin Directory

Changeset 1903156


Ignore:
Timestamp:
07/03/2018 06:17:35 AM (8 years ago)
Author:
hotelierscom
Message:

Fixes issue with Booking Engine reminder

File:
1 edited

Legend:

Unmodified
Added
Removed
  • hotelierscom-booking-module/trunk/js/hoteliers.js

    r1710973 r1903156  
    314314            defaultExtension = 'com',
    315315            hostExtension = _.hf_hostname_ext(defaultExtension),
    316             protocolHost = 'http'+(hostExtension === defaultExtension ? 's' : '')+'://www.hoteliers.'+hostExtension+'/',
     316            protocolHost = '//www.hoteliers.'+hostExtension+'/',
    317317            engines = {
    318318                default: protocolHost+'wlpEngine.php',
     
    389389                    }
    390390
     391                    if (false === confirm($onSiteOverlay.getConfirmMessage('leave'))) {
     392                        return false;
     393                    }
     394
    391395                    _.options.$onSiteOverlay.create(strUrl);
    392 
    393                     // Show lightbox
    394                     booShowLightbox = confirm($onSiteOverlay.getConfirmMessage('leave'));
     396                    _.options.$onSiteOverlay.show();
     397
     398                    return booShowLightbox = true;
    395399                }
    396400
Note: See TracChangeset for help on using the changeset viewer.