Merge branch 'bug_9556' into 3.12-master

This commit is contained in:
Jared Camins-Esakov 2013-02-07 08:37:25 -05:00
commit 723dadcf7a

View file

@ -1404,8 +1404,8 @@
var attrid = item.message_attribute_id;
var transports = ['email', 'rss', 'sms'];
$.each(transports, function(j, transport) {
if (item['transport-' + transport] != ' ') {
$('#' + transport + attrid).attr('checked', item['transport-' + transport]);
if (item['transports_' + transport] == 1) {
$('#' + transport + attrid).attr('checked', 'checked');
} else {
$('#' + transport + attrid).removeAttr('checked');
}