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);
|
||||
|
||||
|
||||
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
|
||||
function openSlide() {
|
||||
var $openSlide = $('.open-slide'),
|
||||
|
@ -530,6 +548,10 @@ function changeStatusHidden() {
|
|||
|
||||
// Document Ready
|
||||
$(function() {
|
||||
new ini();
|
||||
$('.delete').on('click', function() {
|
||||
api.modal($(this).attr('rel'));
|
||||
})
|
||||
initialState();
|
||||
$('#login').on('shown', function () {
|
||||
$(document.body).addClass('modalBlur');
|
||||
|
|
Reference in New Issue