@concretecms/bedrock 1.4.2 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/bedrock/js/frontend.js +0 -2
- package/assets/cms/js/modal.js +3 -0
- package/assets/conversations/js/frontend/conversations.js +3 -1
- package/assets/{bedrock/js/frontend/locations → forms/js/frontend}/country-data-link.js +2 -1
- package/assets/forms/js/frontend.js +2 -0
- package/package.json +1 -1
- /package/assets/{bedrock/js/frontend/locations → forms/js/frontend}/country-stateprovince-link.js +0 -0
|
@@ -2,8 +2,6 @@ import jQuery from 'jquery'
|
|
|
2
2
|
import 'bootstrap'
|
|
3
3
|
// We will be refactoring this, also it causes problems with installation.
|
|
4
4
|
// import './frontend/async-thumbnail-builder'
|
|
5
|
-
import './frontend/locations/country-data-link'
|
|
6
|
-
import './frontend/locations/country-stateprovince-link'
|
|
7
5
|
|
|
8
6
|
// Let us use Vue with our theme JS
|
|
9
7
|
import VueManager from '../../../assets/cms/js/vue/Manager'
|
package/assets/cms/js/modal.js
CHANGED
|
@@ -130,7 +130,9 @@ window._ = _
|
|
|
130
130
|
var target = $('a' + window.location.hash).offset()
|
|
131
131
|
$('html, body').animate({ scrollTop: target.top }, 800, 'linear')
|
|
132
132
|
}
|
|
133
|
-
|
|
133
|
+
if (oldobj) {
|
|
134
|
+
window.obj = oldobj
|
|
135
|
+
}
|
|
134
136
|
obj.attachBindings()
|
|
135
137
|
obj.publish('conversationLoaded')
|
|
136
138
|
})
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable eqeqeq */
|
|
1
2
|
var USE_MUTATIONOBSERVER = !!(window.MutationObserver && window.MutationObserver.prototype && window.MutationObserver.prototype.observe)
|
|
2
3
|
|
|
3
4
|
function loadDataForCountry(countryCode, callback) {
|
|
@@ -185,7 +186,7 @@ Link.prototype = {
|
|
|
185
186
|
.val(spCode)
|
|
186
187
|
.text(name)
|
|
187
188
|
|
|
188
|
-
if (spCode
|
|
189
|
+
if (spCode == selectedStateprovince) {
|
|
189
190
|
$o.attr('selected', 'selected')
|
|
190
191
|
}
|
|
191
192
|
me.$stateprovinceSelect.append($o)
|
package/package.json
CHANGED
/package/assets/{bedrock/js/frontend/locations → forms/js/frontend}/country-stateprovince-link.js
RENAMED
|
File without changes
|