[Web] Minor fixes, some style adjustments
parent
b63cad1dd5
commit
f2ae0db9a2
|
@ -614,7 +614,7 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
|
|||
$_SESSION['return'][] = array(
|
||||
'type' => 'danger',
|
||||
'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
|
||||
'msg' => 'alias_invalid'
|
||||
'msg' => array('alias_invalid', $address)
|
||||
);
|
||||
continue;
|
||||
}
|
||||
|
@ -1713,7 +1713,7 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
|
|||
$_SESSION['return'][] = array(
|
||||
'type' => 'danger',
|
||||
'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
|
||||
'msg' => 'alias_invalid'
|
||||
'msg' => array('alias_invalid', $address)
|
||||
);
|
||||
continue;
|
||||
}
|
||||
|
@ -1733,7 +1733,7 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
|
|||
$_SESSION['return'][] = array(
|
||||
'type' => 'danger',
|
||||
'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
|
||||
'msg' => 'alias_invalid'
|
||||
'msg' => array('alias_invalid', $address)
|
||||
);
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -56,6 +56,13 @@ $(document).ready(function() {
|
|||
'use strict';
|
||||
if ($('a[data-toggle="tab"]').length) {
|
||||
$('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
|
||||
$("ul.nav-tabs li a").parent().find("a").each(function(){
|
||||
var t = $(this).text();
|
||||
t = t.replace(/^⤏ /, '');
|
||||
$(this).text(t);
|
||||
});
|
||||
$(this).prepend("⤏ ");
|
||||
|
||||
if ($(this).data('dont-remember') == 1) {
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -62,11 +62,6 @@ jQuery(function($){
|
|||
draw_table = $(this).data('draw');
|
||||
eval(draw_table + '()');
|
||||
});
|
||||
if (localStorage.getItem("current_page") === null) {
|
||||
var current_page = {};
|
||||
} else {
|
||||
var current_page = JSON.parse(localStorage.getItem('current_page'));
|
||||
}
|
||||
function table_admin_ready(ft, name) {
|
||||
heading = ft.$el.parents('.panel').find('.panel-heading')
|
||||
var ft_paging = ft.use(FooTable.Paging)
|
||||
|
|
Loading…
Reference in New Issue