Module: edit_notice_board

Contains the functionalities related to the edit notice board page.
Author:
  • Joonas Konki
  • Anu Koskela
  • Mikko Kuhno
  • Henrik Paananen
  • Atte Räty
License:
  • BSD 3-clause, see LICENSE for more details.
Source:

Methods

(static) addNote()

Shows editable information related to a note and saves it to the database.
Source:

(static) doc_ready()

This is executed after the HTML page has been loaded. This is a common procedure of all of the client-side modules to initialise the page content.
Source:

(static) initNoticeBoard(note)

Initialises the notice board with given notes from the database.
Parameters:
Name Type Description
note Contains the information of all of the notes.
Source:

(static) make_editNote(note)

Shows information of the editable note, saves the changes to the database and updates the view of the notice board.
Parameters:
Name Type Description
note Contains the information of the note to be edited.
Source:

(static) make_hideNote(note)

Makes the given note hidden in the database and updates the view of the notice board.
Parameters:
Name Type Description
note Contains the information of the note to be hidden.
Source:

(static) make_showNote(note)

Makes the given hidden note visible again in the database and updates the view of the notice board.
Parameters:
Name Type Description
note Contains the information of the note to be made visible.
Source:

(static) reloadEditNoticeBoard()

Reloads all of the notes to the notice board from the database.
Source: