Jump to content


Close modal on save: what is this for?


  • Please log in to reply
6 replies to this topic

#1 dhyanan73

dhyanan73

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 15 March 2019 - 02:40 PM

Hi all,

can anyone explain what the "Close modal on save" checkbox at the bottom of the update and insertion forms is for, please?



#2 dhyanan73

dhyanan73

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 18 March 2019 - 01:28 PM

In my experience this checkbox do nothing. Not even in the examples published on this website. Is it possible to delete/hide it to avoid confusion?



#3 nunenthal

nunenthal

    Member

  • Members
  • PipPip
  • 23 posts
  • LocationFrance

Posted 04 June 2019 - 08:42 AM

you can add this in your css to hide it.

 

.options-on-save
{
    opacity:0;
}



#4 web-johnny

web-johnny

    grocery CRUD Author

  • Administrators
  • 1,081 posts
  • LocationLondon

Posted 14 June 2019 - 12:36 PM

In my experience this checkbox do nothing. Not even in the examples published on this website. Is it possible to delete/hide it to avoid confusion?

 

Hello @dhyanan73

 

The functionality is basically to keep the modal on the save but it seems that it doesn't work anymore! It is something that I've missed. I will try to fix that for the next version and keep you updated once this is done.

 

I am sorry for the confusion that this may caused.

 

Regars

Johnny


Posted Image

#5 dhyanan73

dhyanan73

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 14 June 2019 - 12:48 PM

I will try to fix that for the next version and keep you updated once this is done.

 

Hello @web-johnny, thanks for your answer.

Please also remember to enable the multilanguage for the caption text of the checkbox.

 

Regards,

Andrea



#6 web-johnny

web-johnny

    grocery CRUD Author

  • Administrators
  • 1,081 posts
  • LocationLondon

Posted 15 June 2019 - 06:46 AM

Hello @web-johnny, thanks for your answer.

Please also remember to enable the multilanguage for the caption text of the checkbox.

 

Regards,

Andrea

 

Hello Andrea,

 

The caption of the checkbox is in the translations. It is probably not translated in your language. You can go and change that at: application/libraries/GroceryCrudEnterprise/grocerycrud/enterprise/src/GroceryCrud/i18n/

For example if your language that you would like to translate it is Russian (just an example) then open the file: application/libraries/GroceryCrudEnterprise/grocerycrud/enterprise/src/GroceryCrud/i18n/Russian.php and search for: 'close_modal_on_save' string.

 

If they are lot of translations missing, then please also consider to share the new file with us if possible :)

Regards

Johnny


Posted Image

#7 web-johnny

web-johnny

    grocery CRUD Author

  • Administrators
  • 1,081 posts
  • LocationLondon

Posted 17 June 2019 - 07:04 AM

I would like to inform you that this is now scheduled for the next version. You can see the progress of the ticket from here: https://trello.com/c...nt-work-anymore by pressing the "Follow" button.

 

Thank you @dhyanan73 for reporting this

 

Regards

Johnny


Posted Image




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users