@@ -74,17 +74,17 @@ define([
74
74
75
75
/**
76
76
* @param {Object } sectionNames
77
- * @param {Boolean } updateSectionId
77
+ * @param {Boolean } forceNewSectionTimestamp
78
78
* @return {* }
79
79
*/
80
- getFromServer : function ( sectionNames , updateSectionId ) {
80
+ getFromServer : function ( sectionNames , forceNewSectionTimestamp ) {
81
81
var parameters ;
82
82
83
83
sectionNames = sectionConfig . filterClientSideSections ( sectionNames ) ;
84
84
parameters = _ . isArray ( sectionNames ) ? {
85
85
sections : sectionNames . join ( ',' )
86
86
} : [ ] ;
87
- parameters [ 'update_section_id' ] = updateSectionId ;
87
+ parameters [ 'update_section_id' ] = forceNewSectionTimestamp ;
88
88
89
89
return $ . getJSON ( options . sectionLoadUrl , parameters ) . fail ( function ( jqXHR ) {
90
90
throw new Error ( jqXHR ) ;
@@ -324,11 +324,11 @@ define([
324
324
325
325
/**
326
326
* @param {Array } sectionNames
327
- * @param {Boolean } updateSectionId
327
+ * @param {Boolean } forceNewSectionTimestamp
328
328
* @return {* }
329
329
*/
330
- reload : function ( sectionNames , updateSectionId ) {
331
- return dataProvider . getFromServer ( sectionNames , updateSectionId ) . done ( function ( sections ) {
330
+ reload : function ( sectionNames , forceNewSectionTimestamp ) {
331
+ return dataProvider . getFromServer ( sectionNames , forceNewSectionTimestamp ) . done ( function ( sections ) {
332
332
$ ( document ) . trigger ( 'customer-data-reload' , [ sectionNames ] ) ;
333
333
buffer . update ( sections ) ;
334
334
} ) ;
0 commit comments