Added confirm msg for build cached entries in maintenance.
This commit is contained in:
parent
1d32fe52f5
commit
57cf532863
@ -571,7 +571,7 @@ class serendipity_event_entryproperties extends serendipity_event
|
|||||||
if ($is_cache && $serendipity['serendipityUserlevel'] >= USERLEVEL_ADMIN) {
|
if ($is_cache && $serendipity['serendipityUserlevel'] >= USERLEVEL_ADMIN) {
|
||||||
echo '<section id="maintenance_buildcache" class="equal_heights quick_list">';
|
echo '<section id="maintenance_buildcache" class="equal_heights quick_list">';
|
||||||
echo '<h3>'. PLUGIN_EVENT_ENTRYPROPERTY_BUILDCACHE .'</h3>';
|
echo '<h3>'. PLUGIN_EVENT_ENTRYPROPERTY_BUILDCACHE .'</h3>';
|
||||||
echo '<a class="button_link" href="?serendipity[adminModule]=event_display&serendipity[adminAction]=buildcache">'. PLUGIN_EVENT_ENTRYPROPERTY_BUILDCACHE .'</a></section>';
|
echo '<a class="button_link build_cache" href="?serendipity[adminModule]=event_display&serendipity[adminAction]=buildcache" data-delmsg="'. PLUGIN_EVENT_ENTRYPROPERTIES_CACHE_FETCHNEXT .'">'. PLUGIN_EVENT_ENTRYPROPERTY_BUILDCACHE .'</a></section>';
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
break;
|
break;
|
||||||
|
@ -965,7 +965,7 @@ var AccessifyHTML5 = function (defaults, more_fixes) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Comments
|
// Comments
|
||||||
$('.comments_delete, .comments_multidelete').click(function() {
|
$('.comments_delete, .comments_multidelete, .build_cache').click(function() {
|
||||||
var $msg = $(this).attr('data-delmsg');
|
var $msg = $(this).attr('data-delmsg');
|
||||||
return confirm($msg);
|
return confirm($msg);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user