Put back js that was deleted by mistake
This commit is contained in:
parent
06203d27b9
commit
3328a41b55
|
@ -476,6 +476,24 @@ if($.support.touch) {
|
||||||
}(window.jQuery);
|
}(window.jQuery);
|
||||||
|
|
||||||
|
|
||||||
|
var ini = function() {
|
||||||
|
api = this
|
||||||
|
api.modal = function(e) {
|
||||||
|
$('#dialog a.delete-item').attr("href", e);
|
||||||
|
$('#dialog').modal('show');
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
var ini = function() {
|
||||||
|
api = this
|
||||||
|
api.modal = function(e) {
|
||||||
|
$('#dialog a.delete-item').attr("href", e);
|
||||||
|
$('#dialog').modal('show');
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
// Open Slide
|
// Open Slide
|
||||||
function openSlide() {
|
function openSlide() {
|
||||||
var $openSlide = $('.open-slide'),
|
var $openSlide = $('.open-slide'),
|
||||||
|
@ -530,6 +548,10 @@ function changeStatusHidden() {
|
||||||
|
|
||||||
// Document Ready
|
// Document Ready
|
||||||
$(function() {
|
$(function() {
|
||||||
|
new ini();
|
||||||
|
$('.delete').on('click', function() {
|
||||||
|
api.modal($(this).attr('rel'));
|
||||||
|
})
|
||||||
initialState();
|
initialState();
|
||||||
$('#login').on('shown', function () {
|
$('#login').on('shown', function () {
|
||||||
$(document.body).addClass('modalBlur');
|
$(document.body).addClass('modalBlur');
|
||||||
|
|
Loading…
Reference in New Issue