sr-npm 1.7.348 → 1.7.350
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/careersPage.js +5 -2
package/package.json
CHANGED
package/pages/careersPage.js
CHANGED
|
@@ -172,7 +172,10 @@ function init(_$w) {
|
|
|
172
172
|
searchInputBlurredFirstTime=false;
|
|
173
173
|
}
|
|
174
174
|
});
|
|
175
|
-
_$w('#dropdownDepartment, #dropdownLocation, #dropdownJobType').onChange(()=>
|
|
175
|
+
_$w('#dropdownDepartment, #dropdownLocation, #dropdownJobType').onChange(()=>{
|
|
176
|
+
console.log("onChange triggering on dropdown@@@@@@");
|
|
177
|
+
applyFilters(_$w);
|
|
178
|
+
});
|
|
176
179
|
_$w('#resetFiltersButton, #clearSearch').onClick(()=>resetFilters(_$w));
|
|
177
180
|
|
|
178
181
|
_$w('#openFiltersButton').onClick(()=>{
|
|
@@ -290,7 +293,7 @@ async function applyFilters(_$w, skipUrlUpdate = false) {
|
|
|
290
293
|
_$w(filter.elementId).value = '';
|
|
291
294
|
filter.value = '';
|
|
292
295
|
if (!skipUrlUpdate) {
|
|
293
|
-
queryParams.remove(["keyWord", "department","page","location"]);
|
|
296
|
+
//queryParams.remove(["keyWord", "department","page","location"]);
|
|
294
297
|
// queryKeyWordVar=undefined;
|
|
295
298
|
// queryDepartmentVar=undefined;
|
|
296
299
|
// queryLocationVar=undefined;
|