Version 3.4.5

This commit is contained in:
Neo committed 2025-12-19 00:38:12 -08:00
1 parent fb6b5baabc
commit e4478369d8
1360 files changed
+228921 -179445

No files matched your search

+58 -2
View File
@@ -29,14 +29,14 @@ _search.prototype.search = {
if( $('date_start') && $('date_start_icon') )
{
$('date_start_icon').observe('click', function(e){
ipb.search.calendar_start = new CalendarDateSelect( $('date_start'), { year_range: 6, time: true, close_on_click: true } );
ipb.search.calendar_start = new CalendarDateSelect( $('date_start'), { year_range: 6, time: true } );
});
}
if( $('date_end') && $('date_end_icon') )
{
$('date_end_icon').observe('click', function(e){
ipb.search.calendar_start = new CalendarDateSelect( $('date_end'), { year_range: 6, time: true, close_on_click: true } );
ipb.search.calendar_start = new CalendarDateSelect( $('date_end'), { year_range: 6, time: true } );
});
}
@@ -76,12 +76,67 @@ _search.prototype.search = {
{
$('vncForumFilter').observe('click', ipb.search.openVncForumFilter );
}
ipb.delegate.register('.submit_modaction_row', ipb.search.handleFollowChange );
});
},
handleFollowChange: function( e, elem )
{
Event.stop(e);
var _id = $(elem).up('.ipbmenu_content').down('select[name=modaction_row]').identify().replace( /form_change_/, '' );
var _action = $(elem).up('.ipbmenu_content').down('select[name=modaction_row]').getValue();
var request = new Ajax.Request( ipb.vars['base_url'] + 'app=core&module=ajax&section=search&do=saveFollow',
{
method: 'post',
parameters: {
secure_key: ipb.vars['secure_hash'],
searchApp: ipb.search.searchApp,
contentType: ipb.search.contentType,
id: _id,
modaction: _action
},
onSuccess: function(t)
{
if( t.responseJSON['error'] )
{
ipb.global.showInlineNotification( ipb.lang[ t.responseJSON['error'] ], { displayForSeconds: 2 } );
}
else
{
new Effect.Fade( $('change_' + _id + '_menucontent'), { duration: 0.3 } );
if( $(elem).up('._recordRow') )
{
if( _action == 'delete' )
{
var effect = new Effect.Fade( $(elem).up('._recordRow'), { duration: 0.3 } );
}
else
{
$(elem).up('._recordRow').down('p.notify_info').replace( t.responseJSON['html'] );
}
}
ipb.global.showInlineNotification( ipb.lang['follow_action_saved'], { displayForSeconds: 2 } );
}
}
}
);
return false;
},
openVncForumFilter: function( e )
{
Event.stop(e);
if( ipb.search.vncPopup )
{
ipb.search.vncPopup.kill();
}
var url = ipb.vars['base_url'] + "app=core&module=ajax&section=search&do=showForumsVncFilter&secure_key=" + ipb.vars['secure_hash'];
@@ -105,6 +160,7 @@ _search.prototype.search = {
{
Event.stop(e);
ipb.search.vncPopup.kill();
ipb.search.vncPopup = null;
return false;
},