Lines 12-18
Link Here
|
12 |
<script type="text/javascript"> |
12 |
<script type="text/javascript"> |
13 |
//<![CDATA[ |
13 |
//<![CDATA[ |
14 |
var oTable; /* oTable needs to be global */ |
14 |
var oTable; /* oTable needs to be global */ |
15 |
var sEmptyTable = _('No quotes available. Please use the \"Add Quote\" button to add a quote.'); /* override the default message in datatables-strings.inc */ |
15 |
var sEmptyTable = _('No quotes available. Please use the "Add Quote" button to add a quote.'); /* override the default message in datatables-strings.inc */ |
16 |
$(document).ready(function() { |
16 |
$(document).ready(function() { |
17 |
/* NOTE: This is an ajax-source datatable and *not* a server-side sourced datatable. */ |
17 |
/* NOTE: This is an ajax-source datatable and *not* a server-side sourced datatable. */ |
18 |
/* See the datatable docs if you don't understand this difference. */ |
18 |
/* See the datatable docs if you don't understand this difference. */ |
Lines 41-46
Link Here
|
41 |
$(nRow).attr("id", quoteID); /* set row ids to quote id */ |
41 |
$(nRow).attr("id", quoteID); /* set row ids to quote id */ |
42 |
$('td:eq(0)', nRow).click(function() {$(this.parentNode).toggleClass('selected',this.clicked);}); /* add row selectors */ |
42 |
$('td:eq(0)', nRow).click(function() {$(this.parentNode).toggleClass('selected',this.clicked);}); /* add row selectors */ |
43 |
$('td:eq(0)', nRow).attr("title", _("Click ID to select/deselect quote")); |
43 |
$('td:eq(0)', nRow).attr("title", _("Click ID to select/deselect quote")); |
|
|
44 |
$('td', nRow).attr("id",quoteID); /* FIXME: this is a bit of a hack */ |
44 |
if (isNaN(quoteID)) { |
45 |
if (isNaN(quoteID)) { |
45 |
noEditFields = [0,1,2,3]; /* all fields when adding a quote */ |
46 |
noEditFields = [0,1,2,3]; /* all fields when adding a quote */ |
46 |
} |
47 |
} |
Lines 194-200
Link Here
|
194 |
<th>Source</th> |
195 |
<th>Source</th> |
195 |
<th>Text</th> |
196 |
<th>Text</th> |
196 |
<th>Last Displayed</th> |
197 |
<th>Last Displayed</th> |
197 |
<!-- <th>Actions</th>--> |
|
|
198 |
</tr> |
198 |
</tr> |
199 |
</thead> |
199 |
</thead> |
200 |
<tbody> |
200 |
<tbody> |
Lines 204-210
Link Here
|
204 |
<td></td> |
204 |
<td></td> |
205 |
<td>Loading data...</td> |
205 |
<td>Loading data...</td> |
206 |
<td></td> |
206 |
<td></td> |
207 |
<!-- <td></td>--> |
|
|
208 |
</tr> |
207 |
</tr> |
209 |
</tbody> |
208 |
</tbody> |
210 |
</table> |
209 |
</table> |