5
This commit is contained in:
@@ -6,10 +6,13 @@ define(['form'], function (Form) {
|
||||
$(this).parent().addClass('active');
|
||||
$('.tab-pane').hide('active');
|
||||
$($(this).attr('href')).show('active');
|
||||
return false;
|
||||
})
|
||||
//return false;
|
||||
});
|
||||
if(location.hash){
|
||||
$('.nav-tabs li a[href='+location.hash+']').trigger('click');
|
||||
}
|
||||
var form = $('#settingsform');
|
||||
Config['upload_url'] = 'attach/upload';
|
||||
//Config['upload_url'] = 'files/upload';
|
||||
Form.api.bindevent(form,function(res){
|
||||
if (res.code) {
|
||||
return lightyear.notify(res.msg, 'danger', 3000, 'mdi mdi-emoticon-happy', 'top', 'center');
|
||||
|
||||
Reference in New Issue
Block a user