frio: intro notifications + some restructuring in core for notifications
This commit is contained in:
parent
0deea97cf2
commit
320751660d
7 changed files with 643 additions and 474 deletions
|
@ -204,6 +204,19 @@ function addToModal(url) {
|
|||
});
|
||||
}
|
||||
|
||||
// Add a element (by it's id) to a bootstrap modal
|
||||
function addElmToModal(id) {
|
||||
var elm = $(id).html();
|
||||
var modal = $('#modal').modal();
|
||||
|
||||
modal
|
||||
.find('#modal-body')
|
||||
.append(elm)
|
||||
.modal.show;
|
||||
|
||||
loadModalTitle();
|
||||
}
|
||||
|
||||
// function to load the html from the edit post page into
|
||||
// the jot modal
|
||||
function editpost(url) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue