sr-npm 1.7.1279 → 1.7.1280
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/package.json +1 -1
- package/pages/careersMultiBoxesPage.js +13 -13
package/package.json
CHANGED
|
@@ -308,12 +308,12 @@ async function handleParams(_$w,param,values) {
|
|
|
308
308
|
$item(CAREERS_MULTI_BOXES_PAGE_CONSTS.SELECTED_VALUES_REPEATER_ITEM_LABEL).text = itemData.label || '';
|
|
309
309
|
// Deselect this value from both the selected map and the multibox
|
|
310
310
|
$item(CAREERS_MULTI_BOXES_PAGE_CONSTS.DESELECT_BUTTON_ID).onClick(async () => {
|
|
311
|
-
const currentQueryParams=await location.query();
|
|
312
|
-
if(currentQueryParams.page)
|
|
313
|
-
{
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
}
|
|
311
|
+
// const currentQueryParams=await location.query();
|
|
312
|
+
// if(currentQueryParams.page)
|
|
313
|
+
// {
|
|
314
|
+
// //queryParams.remove(["page"]);
|
|
315
|
+
// queryParams.add({ ["page"]: 1 });
|
|
316
|
+
// }
|
|
317
317
|
const fieldId = itemData.fieldId;
|
|
318
318
|
const valueId = itemData.valueId;
|
|
319
319
|
dontUpdateThisCheckBox=fieldId;
|
|
@@ -438,13 +438,13 @@ async function loadJobsRepeater(_$w) {
|
|
|
438
438
|
|
|
439
439
|
_$w(`#${FiltersIds[field.title]}CheckBox`).selectedIndices = []; // start empty
|
|
440
440
|
_$w(`#${FiltersIds[field.title]}CheckBox`).onChange(async (ev) => {
|
|
441
|
-
const currentQueryParams=await location.query();
|
|
442
|
-
if(currentQueryParams.page)
|
|
443
|
-
{
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
}
|
|
441
|
+
// const currentQueryParams=await location.query();
|
|
442
|
+
// if(currentQueryParams.page)
|
|
443
|
+
// {
|
|
444
|
+
// //try instead of removing to add page = 1
|
|
445
|
+
// //queryParams.remove(["page"]);
|
|
446
|
+
// queryParams.add({ ["page"]: 1 });
|
|
447
|
+
// }
|
|
448
448
|
dontUpdateThisCheckBox=field._id;
|
|
449
449
|
const selected = ev.target.value; // array of selected value IDs
|
|
450
450
|
let fieldTitle=field.title.toLowerCase().replace(' ', '');
|