Skip to content

Commit

Permalink
search fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
markdaugherty committed Feb 9, 2017
1 parent 259ecaf commit dd893da
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<groupId>com.citytechinc.aem.groovy.console</groupId>
<artifactId>aem-groovy-console</artifactId>
<packaging>jar</packaging>
<version>8.0.4</version>
<version>8.0.5</version>
<name>AEM Groovy Console</name>
<description>
The AEM Groovy Console provides an interface for running Groovy scripts in the AEM (Adobe CQ) container. Scripts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@ GroovyConsole.Audit = function () {
data: null,
defaultContent: '<span class="glyphicon glyphicon-upload" title="Load Script"></span>'
},
{ data: 'date' },
{
data: 'scriptPreview',
data: 'date',
searchable: false
},
{
data: 'script',
orderable: false
},
{
Expand All @@ -25,6 +28,7 @@ GroovyConsole.Audit = function () {
{
className: 'delete-record',
orderable: false,
searchable: false,
data: null,
defaultContent: '<span class="glyphicon glyphicon-trash" title="Delete Record"></span>'
}
Expand All @@ -40,7 +44,7 @@ GroovyConsole.Audit = function () {
},
rowCallback: function (row, data) {
$('td:eq(1)', row).html('<a href="' + data.link + '">' + data.date + '</a>');
$('td:eq(2)', row).html('<code>' + data.scriptPreview + '</code>');
$('td:eq(2)', row).html('<code>' + data.scriptPreview + '</code><div class="hidden">' + data.script + '</div>');
$('td:eq(2)', row).popover({
container: 'body',
content: '<pre>' + data.script + '</pre>',
Expand Down

0 comments on commit dd893da

Please sign in to comment.