| Line 749... |
Line 749... |
| 749 |
if (messageType == null) {
|
749 |
if (messageType == null) {
|
| 750 |
messageQueryString = "";
|
750 |
messageQueryString = "";
|
| 751 |
}
|
751 |
}
|
| 752 |
doGetAjaxRequestHandler(context + "/notifications" + messageQueryString, function(response) {
|
752 |
doGetAjaxRequestHandler(context + "/notifications" + messageQueryString, function(response) {
|
| 753 |
if ($container != null) {
|
753 |
if ($container != null) {
|
| 754 |
loaderDialogObj.one('hidden.bs.modal', function() {
|
754 |
loaderDialogObj.one('hidden.bs.modal', function(){
|
| 755 |
$container.popover({
|
755 |
$container.popover({
|
| 756 |
container: $container,
|
756 |
container: $container,
|
| 757 |
template: '<div class="popover popover1" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content popover2"></div></div>',
|
757 |
template: '<div class="popover popover1" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content popover2"></div></div>',
|
| 758 |
content: response,
|
758 |
content: response,
|
| 759 |
html: true,
|
759 |
html: true,
|
| Line 776... |
Line 776... |
| 776 |
documentName);
|
776 |
documentName);
|
| 777 |
}
|
777 |
}
|
| 778 |
|
778 |
|
| 779 |
|
779 |
|
| 780 |
/* Create an array with the values of all the input boxes in a column */
|
780 |
/* Create an array with the values of all the input boxes in a column */
|
| 781 |
$.fn.dataTable.ext.order['dom-text'] = function(settings, col) {
|
781 |
$.fn.dataTable.ext.order['dom-text'] = function ( settings, col )
|
| - |
|
782 |
{
|
| 782 |
return this.api().column(col, { order: 'index' }).nodes().map(function(td, i) {
|
783 |
return this.api().column( col, {order:'index'} ).nodes().map( function ( td, i ) {
|
| 783 |
return $('input', td).val();
|
784 |
return $('input', td).val();
|
| 784 |
});
|
785 |
} );
|
| 785 |
}
|
786 |
}
|
| 786 |
|
787 |
|
| 787 |
/* Create an array with the values of all the input boxes in a column, parsed as numbers * /
|
788 |
/* Create an array with the values of all the input boxes in a column, parsed as numbers */
|
| 788 |
$.fn.dataTable.ext.order['dom-text-numeric'] = function(settings, col) {
|
789 |
$.fn.dataTable.ext.order['dom-text-numeric'] = function ( settings, col )
|
| - |
|
790 |
{
|
| 789 |
return this.api().column(col, { order: 'index' }).nodes().map(function(td, i) {
|
791 |
return this.api().column( col, {order:'index'} ).nodes().map( function ( td, i ) {
|
| 790 |
return $('input', td).val() * 1;
|
792 |
return $('input', td).val() * 1;
|
| 791 |
});
|
793 |
} );
|
| 792 |
}
|
794 |
}
|
| 793 |
|
795 |
|
| 794 |
/* Create an array with the values of all the select options in a column */
|
796 |
/* Create an array with the values of all the select options in a column */
|
| 795 |
$.fn.dataTable.ext.order['dom-select'] = function(settings, col) {
|
797 |
$.fn.dataTable.ext.order['dom-select'] = function ( settings, col )
|
| - |
|
798 |
{
|
| 796 |
return this.api().column(col, { order: 'index' }).nodes().map(function(td, i) {
|
799 |
return this.api().column( col, {order:'index'} ).nodes().map( function ( td, i ) {
|
| 797 |
return $('select', td).val();
|
800 |
return $('select', td).val();
|
| 798 |
});
|
801 |
} );
|
| 799 |
}
|
802 |
}
|
| 800 |
|
803 |
|
| 801 |
/* Create an array with the values of all the checkboxes in a column */
|
804 |
/* Create an array with the values of all the checkboxes in a column */
|
| 802 |
$.fn.dataTable.ext.order['dom-checkbox'] = function(settings, col) {
|
805 |
$.fn.dataTable.ext.order['dom-checkbox'] = function ( settings, col )
|
| - |
|
806 |
{
|
| 803 |
return this.api().column(col, { order: 'index' }).nodes().map(function(td, i) {
|
807 |
return this.api().column( col, {order:'index'} ).nodes().map( function ( td, i ) {
|
| 804 |
return $('input', td).prop('checked') ? '1' : '0';
|
808 |
return $('input', td).prop('checked') ? '1' : '0';
|
| 805 |
});
|
809 |
} );
|
| 806 |
}
|
810 |
}
|
| 807 |
|
811 |
|