grouper-dev - RE: [grouper-dev] https://spaces.at.internet2.edu/display/Grouper/Grouper+hook+which+adds+link+to+UI
Subject: Grouper Developers Forum
List archive
RE: [grouper-dev] https://spaces.at.internet2.edu/display/Grouper/Grouper+hook+which+adds+link+to+UI
Chronological Thread
- From: "Hyzer, Chris" <>
- To: "Black, Carey M." <>, "" <>
- Subject: RE: [grouper-dev] https://spaces.at.internet2.edu/display/Grouper/Grouper+hook+which+adds+link+to+UI
- Date: Mon, 15 Apr 2019 14:51:53 +0000
You said you wanted a message to display, you didn’t mention you wanted it to
go away 😊
The only thing I can think of involves a small tweak to Grouper... and a
tweak to the wiki (see that). Want to try it and let me know if you want me
to make a 2.4 patch for that 😊
Thanks
Chris
grouperUi.js:
FROM:
function guiV2link(url, options) {
if (typeof options == 'undefined') {
TO:
function guiV2link(url, options) {
$('.messaging').hide().empty();
if (typeof options == 'undefined') {
#################################################
FROM:
function guiProcessUrlForAjax(url) {
//clear the error div...
$('#messaging').hide().empty();
TO:
function guiProcessUrlForAjax(url) {
//clear the error div(2)...
$('#messaging').hide().empty();
$('.messaging').hide().empty();
-----Original Message-----
From: <>
On Behalf Of Black, Carey M.
Sent: Monday, April 15, 2019 12:58 AM
To:
Subject: RE: [grouper-dev]
https://spaces.at.internet2.edu/display/Grouper/Grouper+hook+which+adds+link+to+UI
I have the example working.
However, as documented any custom messages are not "removed from the page"
the way the default "status message" is removed.
If a hook sends, 3 messages, and there is a 4th "Success" message from the
system displayed. When a user navigates away to a different folder ( ... etc
) the 4th message is removed, but the other 3 remain until the user closes
them.
Is there a way to have the removal of the "system message" also remove any
additional messages?
I suspect this could be solved in a few ways, but I really don't know which
would be more "preferred". :)
--
Carey Matthew Black
Office of the Chief Information Officer (OCIO)
- RE: [grouper-dev] https://spaces.at.internet2.edu/display/Grouper/Grouper+hook+which+adds+link+to+UI, Black, Carey M., 04/15/2019
- RE: [grouper-dev] https://spaces.at.internet2.edu/display/Grouper/Grouper+hook+which+adds+link+to+UI, Hyzer, Chris, 04/15/2019
- RE: [grouper-dev] https://spaces.at.internet2.edu/display/Grouper/Grouper+hook+which+adds+link+to+UI, Black, Carey M., 04/15/2019
- RE: [grouper-dev] https://spaces.at.internet2.edu/display/Grouper/Grouper+hook+which+adds+link+to+UI, Hyzer, Chris, 04/23/2019
- RE: [grouper-dev] https://spaces.at.internet2.edu/display/Grouper/Grouper+hook+which+adds+link+to+UI, Black, Carey M., 04/15/2019
- RE: [grouper-dev] https://spaces.at.internet2.edu/display/Grouper/Grouper+hook+which+adds+link+to+UI, Hyzer, Chris, 04/15/2019
Archive powered by MHonArc 2.6.19.