Sha256: dbc9f9091cb7377262b329c4db086e4f7748fd88d6cf65ba18c7a33641ba663a
Contents?: true
Size: 1.18 KB
Versions: 20
Compression:
Stored size: 1.18 KB
Contents
.banners .spacer5.hidden-xs.hidden-sm .container .row .col-md-6.text-center.col-md-offset-3 %h3 Your 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
20 entries across 20 versions & 1 rubygems