source: src/webapp/common/js/GnuBoat.js@ 46f871f

debian/bullseye
Last change on this file since 46f871f was 3b7e9f6, checked in by Joachim Langenbach <joachim.langenbach@…>, 8 years ago
  • Removed not needed styles from GnuBoatColors.css
  • Added subnamespace GnuBoat.Webclient in javascripts
  • Moved common methods into GnuBoat.js (like displayMessage())
  • side-menu.css: Menu is hidden by default (independend from display resolution
  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[3b7e9f6]1/*
2
3 Copyright (C) 2016 - 2018 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
18 MA 02110-1301 USA.
19
20*/
21
22/** @namespace GnuBoat JavaScript namespace */
23var GnuBoat = GnuBoat || {};
24
25/**
26 * @brief Used to display user messages
27 */
28GnuBoat.displayMessage = function(text)
29{
30 $("#message").empty();
31 $(text).appendTo("#message");
32 location.hash = "#messages";
33}
Note: See TracBrowser for help on using the repository browser.