Sha256: d93599b7e1f3c53c869078801cb188d490fdab7792e00f657a5833919d3ae65f

Contents?: true

Size: 375 Bytes

Versions: 16

Compression:

Stored size: 375 Bytes

Contents

document.addEventListener("spree:load", function() {
  $(document).ajaxStart(function () {
    Turbo.navigator.delegate.adapter.progressBar.setValue(0)
    Turbo.navigator.delegate.adapter.progressBar.show()
  })
  $(document).ajaxStop(function () {
    Turbo.navigator.delegate.adapter.progressBar.setValue(1)
    Turbo.navigator.delegate.adapter.progressBar.hide()
  })
})

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
spree_backend-4.8.4 app/assets/javascripts/spree/backend/progress.js
spree_backend-4.8.3 app/assets/javascripts/spree/backend/progress.js
spree_backend-4.8.2 app/assets/javascripts/spree/backend/progress.js
spree_backend-4.8.1 app/assets/javascripts/spree/backend/progress.js
spree_backend-4.7.2 app/assets/javascripts/spree/backend/progress.js
spree_backend-4.6.2 app/assets/javascripts/spree/backend/progress.js
spree_backend-4.7.1 app/assets/javascripts/spree/backend/progress.js
spree_backend-4.7.0 app/assets/javascripts/spree/backend/progress.js
spree_backend-4.6.1 app/assets/javascripts/spree/backend/progress.js
spree_backend-4.6.0 app/assets/javascripts/spree/backend/progress.js
spree_backend-4.5.1 app/assets/javascripts/spree/backend/progress.js
spree_backend-4.5.0 app/assets/javascripts/spree/backend/progress.js
spree_backend-4.4.1 app/assets/javascripts/spree/backend/progress.js
spree_backend-4.4.0 app/assets/javascripts/spree/backend/progress.js
spree_backend-4.4.0.rc2 app/assets/javascripts/spree/backend/progress.js
spree_backend-4.4.0.rc1 app/assets/javascripts/spree/backend/progress.js