@saltcorn/mobile-app 1.6.0-beta.1 → 1.6.0-beta.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@saltcorn/mobile-app",
3
3
  "displayName": "Saltcorn mobile app",
4
- "version": "1.6.0-beta.1",
4
+ "version": "1.6.0-beta.2",
5
5
  "description": "Saltcorn mobile app for Android and iOS",
6
6
  "main": "index.js",
7
7
  "scripts": {
package/src/init.js CHANGED
@@ -430,6 +430,8 @@ export async function init(mobileConfig) {
430
430
  await state.refresh_pages();
431
431
  await state.refresh_page_groups();
432
432
  await state.refresh_triggers();
433
+ await state.refresh_config();
434
+ await state.refresh_codepages();
433
435
  state.mobileConfig.localTableIds = await getTableIds(
434
436
  mobileConfig.localUserTables
435
437
  );
@@ -1,5 +1,5 @@
1
1
  /*eslint-env browser*/
2
- /*global $, KTDrawer, reload_embedded_view, submitWithEmptyAction, is_paging_param, bootstrap, common_done, unique_field_from_rows, inline_submit_success, get_current_state_url, initialize_page */
2
+ /*global $, KTDrawer, reload_embedded_view, submitWithEmptyAction, is_paging_param, bootstrap, common_done, unique_field_from_rows, inline_submit_success, get_current_state_url, initialize_page, reset_spinners */
3
3
 
4
4
  function combineFormAndQuery(form, query) {
5
5
  let paramsList = [];
@@ -995,6 +995,7 @@ function removeLoadSpinner() {
995
995
  if (count === 0) spinner.remove();
996
996
  else spinner.attr("spinner-count", count);
997
997
  }
998
+ reset_spinners();
998
999
  }
999
1000
  }
1000
1001