mirror of https://github.com/acanas/swad-core.git
Version 23.38.3: Oct 27, 2023 When clicking on edition of a program item, expand it if contracted.
This commit is contained in:
parent
aba27e23b8
commit
4b4b3cbea3
|
@ -633,11 +633,11 @@ Me sale este error, no s
|
|||
"can npt create received message (duplicated entry '243218-2160773' for key 'UsrCod_MsgCod')
|
||||
*/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 23.38.2 (2023-10-27)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 23.38.3 (2023-10-27)"
|
||||
#define CSS_FILE "swad23.35.1.css"
|
||||
#define JS_FILE "swad22.49.js"
|
||||
/*
|
||||
* Un ítem del programa está contraído. Al pulsar en editarlo, debería expandirse.
|
||||
Version 23.38.3: Oct 27, 2023 When clicking on edition of a program item, expand it if contracted. (335155 lines)
|
||||
Version 23.38.2: Oct 27, 2023 Fix bug showing the question just edited. (335152 lines)
|
||||
Version 23.38.1: Oct 27, 2023 Fix issue related to public profile and record card. Reported by Francisco Javier Fernández Baldomero. (335152 lines)
|
||||
Version 23.38: Oct 18, 2023 Matches of a game are displayed as hidden when the game is hidden. (335149 lines)
|
||||
|
|
|
@ -1898,6 +1898,10 @@ void Prg_ReqChangeItem (void)
|
|||
/***** Get program item *****/
|
||||
Prg_GetPars (&Item);
|
||||
|
||||
/***** If item is contracted ==> expand it *****/
|
||||
if (!Prg_DB_GetIfExpandedItem (Item.Hierarchy.ItmCod)) // If contracted...
|
||||
Prg_DB_InsertItemInExpandedItems (Item.Hierarchy.ItmCod); // ...expand it
|
||||
|
||||
/***** Show current program items, if any *****/
|
||||
Prg_ShowAllItems (Prg_FORM_EDIT_ITEM,Item.Hierarchy.ItmCod,-1L);
|
||||
|
||||
|
|
Loading…
Reference in New Issue