[Bps-public-commit] RT-Extension-PreviewInSearch branch, side-by-side-preview, updated. 9622fbba6ccc05b97fa3a5a81915f1bd5bba12b3
Wallace Reis
wreis at bestpractical.com
Thu Nov 6 15:18:23 EST 2014
The branch, side-by-side-preview has been updated
via 9622fbba6ccc05b97fa3a5a81915f1bd5bba12b3 (commit)
from e1295b0696812d81e1a0328f1e78a9f541e58a96 (commit)
Summary of changes:
.../RT-Extension-PreviewInSearch/Search/Results.html/AfterResults | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 9622fbba6ccc05b97fa3a5a81915f1bd5bba12b3
Author: Wallace Reis <wreis at bestpractical.com>
Date: Thu Nov 6 17:18:18 2014 -0300
wip
diff --git a/html/Callbacks/RT-Extension-PreviewInSearch/Search/Results.html/AfterResults b/html/Callbacks/RT-Extension-PreviewInSearch/Search/Results.html/AfterResults
index 05e8bb9..61ed388 100644
--- a/html/Callbacks/RT-Extension-PreviewInSearch/Search/Results.html/AfterResults
+++ b/html/Callbacks/RT-Extension-PreviewInSearch/Search/Results.html/AfterResults
@@ -6,6 +6,7 @@ table.collection-as-table-smaller-left {
width: 43%;
}
#ticket-preview-container {
+ position: fixed;
float: right;
width: 56%;
}
@@ -38,11 +39,13 @@ jQuery(function(){
.load( url, function (response, status, xhr) {
console.log(status);
} );
+% if ( RT->Config->Get('SideBySidePreview') ) {
+ jQuery('table.collection-as-table').addClass('collection-as-table-smaller-left');
+% }
+% else {
jQuery('html, body').animate({
scrollTop: '+='+(jQuery("#ticket-preview-container").offset().top-jQuery(window).scrollTop())
}, 1000);
-% if ( RT->Config->Get('SideBySidePreview') ) {
- jQuery('table.collection-as-table').addClass('collection-as-table-smaller-left');
% }
});
});
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list