X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fstatic%2Fwclib.js;h=7a85697ecaad8823adb72c62b049d2a84b09d563;hb=786e916940011d853b219f8d6f32c053d6aafc07;hp=889b068e70f11b1b96ebec0c632263bc52096771;hpb=6c58cbcb77ad9488643cf233580071f8787b0356;p=citadel.git diff --git a/webcit/static/wclib.js b/webcit/static/wclib.js index 889b068e7..7a85697ec 100644 --- a/webcit/static/wclib.js +++ b/webcit/static/wclib.js @@ -875,26 +875,3 @@ function ConfirmLogoff() { } ); } - - -/* - * Wrapper script to require logging in before completing an action - */ -function GetLoggedInFirst(destination_url) { - - /* If logged in already, go directly to the destination. */ - /* FIXME implement this */ - - /* If not logged in, go modal and ask the user to log in first. */ - p = 'do_template?template=get_logged_in?destination_url=' + destination_url; - new Ajax.Updater( - 'md-content', - p, - { - method: 'get', - onSuccess: function(cl_success) { - toggleModal(1); - } - } - ); -}