From aa370627b211a51dc46891cfa4b6e3d2ef3e52db Mon Sep 17 00:00:00 2001 From: mcramer <m.cramer@pixcept.de> Date: Tue, 16 Jul 2013 10:45:17 -0400 Subject: [PATCH] - Fixed FS#2924 - the month will not set automatically in the autoresponder by click now Along with this fixed some display problems with the combo boxes introduced in 3.0.5. Some fields were not correctly displayed with the predefined values if value and text of the underlying option element differ. --- interface/web/js/jquery.ispconfigsearch.js | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/interface/web/js/jquery.ispconfigsearch.js b/interface/web/js/jquery.ispconfigsearch.js index fbd594d..7a8115c 100644 --- a/interface/web/js/jquery.ispconfigsearch.js +++ b/interface/web/js/jquery.ispconfigsearch.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2012, ISPConfig UG +Copyright (c) 2012, ISPConfig UG (haftungsbeschränkt) All rights reserved. Redistribution and use in source and binary forms, with or without modification, @@ -116,12 +116,10 @@ var link = '<a href="'+((item['url'] != undefined) ? item['url'] : 'javascript:void(0);')+'" '+((item['onclick'] != undefined) ? ' onclick="'+fillSearchFieldCode.replace("%", item[settings.fillSearchFieldWith])+(settings.runJS ? item['onclick'] : '')+'"' : '')+((item['target'] != undefined) ? ' target="'+item['target']+'"' : '')+'>'; output += '<li class="'+settings.cssPrefix+'cdata">'+link+"\n"; - output += '<table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td>'; output += '<p>'; - output += (item['title'] != undefined) ? '<span class="'+settings.cssPrefix+'cdata-title">'+item['title']+"</span><br />\n" : ''; + output += (item['title'] != undefined) ? '<span class="'+settings.cssPrefix+'cdata-title">'+item['title']+"</span>\n": ''; output += (item['description'] != undefined) ? ''+item['description']+''+"\n" : ''; output += '</p>'+"\n"; - output += '</td></tr></table>'; output += '</a></li>'+"\n"; } cnt++; -- Gitblit v1.9.1