|
Lines 1404-1411
Link Here
|
| 1404 |
var attrid = item.message_attribute_id; |
1404 |
var attrid = item.message_attribute_id; |
| 1405 |
var transports = ['email', 'rss', 'sms']; |
1405 |
var transports = ['email', 'rss', 'sms']; |
| 1406 |
$.each(transports, function(j, transport) { |
1406 |
$.each(transports, function(j, transport) { |
| 1407 |
if (item['transport-' + transport] != ' ') { |
1407 |
if (item['transports_' + transport] == 1) { |
| 1408 |
$('#' + transport + attrid).attr('checked', item['transport-' + transport]); |
1408 |
$('#' + transport + attrid).attr('checked', 'checked'); |
| 1409 |
} else { |
1409 |
} else { |
| 1410 |
$('#' + transport + attrid).removeAttr('checked'); |
1410 |
$('#' + transport + attrid).removeAttr('checked'); |
| 1411 |
} |
1411 |
} |
| 1412 |
- |
|
|