Sha256: b8d95f256e7656573c467ca08bac5841359322a4d3fc00eaf99e85ccc5c50207
Contents?: true
Size: 1.21 KB
Versions: 10
Compression:
Stored size: 1.21 KB
Contents
.banners .spacer5.hidden-xs.hidden-sm .container .row .col-md-6.text-center.col-md-offset-3 %h3 You order is being prepared .spacer1 = image_tag('mno_enterprise/loader-32x32-bg-inverse.gif') - # Provision applications in the background and remove params - # Used to avoid double-provisioning on page reload and keep - # actual provisioning (create action) as POST - if @organization :javascript function defer(method) { if (window.$) method(); else setTimeout(function() { defer(method) }, 50); } function provisionApps() { $(document).ready( function() { //window.location.href.replace(window.location.search,''); window.history.replaceState({}, 'Preparing Order', window.location.pathname + "?status=preparing"); $.ajax({ url: "#{provision_index_path}", method: "POST", data: { organization_id: "#{@organization.id}", apps: #{@apps.to_json} } }).always(function() { window.location.href = "#{after_provision_path}#/?dhbRefId=#{@organization.id}" }); }); } defer(provisionApps);
Version data entries
10 entries across 10 versions & 1 rubygems