[Bps-public-commit] RT-Extension-PreviewInSearch branch, master, updated. 7da005561405e36c6cd515859fae5688a02af195

Wallace Reis wreis at bestpractical.com
Tue Dec 9 11:51:56 EST 2014


The branch, master has been updated
       via  7da005561405e36c6cd515859fae5688a02af195 (commit)
      from  8214b5ffa7684323276277de19bb8dad0c3e9c19 (commit)

Summary of changes:
 .../RT-Extension-PreviewInSearch/Search/Results.html/AfterResults | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

- Log -----------------------------------------------------------------
commit 7da005561405e36c6cd515859fae5688a02af195
Author: Wallace Reis <wreis at bestpractical.com>
Date:   Tue Dec 9 14:46:17 2014 -0200

    SideBySidePreview - rename table's class references for conciseness

diff --git a/html/Callbacks/RT-Extension-PreviewInSearch/Search/Results.html/AfterResults b/html/Callbacks/RT-Extension-PreviewInSearch/Search/Results.html/AfterResults
index e19c266..f1ddb35 100644
--- a/html/Callbacks/RT-Extension-PreviewInSearch/Search/Results.html/AfterResults
+++ b/html/Callbacks/RT-Extension-PreviewInSearch/Search/Results.html/AfterResults
@@ -1,7 +1,7 @@
 <style>
 tr.in-preview td { background: #ffb }
 % if ( RT->Config->Get('SideBySidePreview') ) {
-.collection-as-table-with-previewinsearch {
+.ticket-list-with-previewinsearch {
     position: fixed;
     width: 42%;
     top: 10em;
@@ -48,11 +48,11 @@ var do_preview = function(row) {
     row.addClass('in-preview');
     jQuery('#ticket-preview-container').text(<% loc('Loading...') |n,j %>).load( url );
 % if ( RT->Config->Get('SideBySidePreview') ) {
-    jQuery('table.collection-as-table').wrap( "<div class='collection-as-table-with-previewinsearch'></div>" );
+    jQuery('table.ticket-list').wrap( "<div class='ticket-list-with-previewinsearch'></div>" );
     jQuery('#ticket-preview-container').show();
     jQuery('div.refresh').addClass('refresh-with-previewinsearch');
-    jQuery('div.collection-as-table-with-previewinsearch').animate({
-        scrollTop: '+='+(jQuery("tr.in-preview").offset().top-jQuery('div.collection-as-table-with-previewinsearch').offset().top)
+    jQuery('div.ticket-list-with-previewinsearch').animate({
+        scrollTop: '+='+(jQuery("tr.in-preview").offset().top-jQuery('div.ticket-list-with-previewinsearch').offset().top)
     }, 1);
     jQuery('div.paging').addClass('paging-with-previewinsearch');
 % } else {

-----------------------------------------------------------------------


More information about the Bps-public-commit mailing list