| Server IP : 118.139.160.155 / Your IP : 216.73.217.153 Web Server : Apache System : Linux sg2plmcpnl504228.prod.sin2.secureserver.net 4.18.0-553.124.4.lve.el8.x86_64 #1 SMP Fri May 15 13:02:13 UTC 2026 x86_64 User : twll3xqyaqrh ( 9725459) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/twll3xqyaqrh/public_html/Site WP/wp-content/plugins/envira-gallery/assets/js/ |
Upload File : |
/**
* tools.js
* http://enviragallery.com/
* ==========================================================
* Copyright 2018 Envira Gallery Team
*
* Licensed under the GPL License, Version 2.0 or later (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.gnu.org/licenses/gpl-2.0.html
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ========================================================== */
(function($) {
$(function() {
$('body.post-type-envira').on('click', 'a.editinline', function(
event,
) {
event.stopPropagation;
$(this).toggleClass('envira-log-show-details');
if ($(this).hasClass('envira-log-show-details')) {
var element_to_copy = $(this)
.closest('td')
.find('div.enviralogs')
.html();
var temp_row =
'<tr><th scope="row" class="check-column"></th><td colspan="5">' +
element_to_copy +
'</td></tr>';
$(this)
.closest('tr')
.after(temp_row);
} else {
$(this)
.closest('tr')
.next()
.remove();
}
});
$('body.post-type-envira').on( 'change', '.envira-log-filter-cat', function() {
var catFilter = $(this).val();
if (catFilter != '') {
document.location.href =
'edit.php?post_type=envira&page=envira-gallery-tools' +
catFilter +
'#!envira-tab-logs';
} else {
document.location.href =
'edit.php?post_type=envira&page=envira-gallery-tools#!envira-tab-logs';
}
});
});
})(jQuery);