Subversion Repositories SmartDukaan

Rev

Rev 25781 | Rev 27754 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 25781 Rev 26015
Line 29... Line 29...
29
						}
29
						}
30
					});
30
					});
31
});
31
});
32
 
32
 
33
function loadNotificationfocoPanel(domId) {
33
function loadNotificationfocoPanel(domId) {
34
 
-
 
35
	doGetAjaxRequestHandler(context + "/notificationPanel", function(response) {
34
	doGetAjaxRequestHandler(context + "/notificationPanel", function(response) {
36
		$('#' + domId).html(response);
35
		$('#' + domId).html(response);
37
		CKEDITOR.replace("editor");
36
		CKEDITOR.replace("editor");
38
 
37
 
39
	});
38
	});
40
}
39
}
41
$(document).ready(function() {
-
 
42
	messageType = $(this).data("messagetype");
-
 
43
	if($(this).hasClass('btn-pressed')) {
-
 
44
		messageType="";
-
 
45
		$('div.message-filter').find('button').removeClass('btn-pressed').addClass('btn-default');
-
 
46
	} else {
-
 
47
		$('div.message-filter').find('button').removeClass('btn-pressed').addClass('btn-default');
-
 
48
		$(this).addClass('btn-pressed').removeClass('btn-default');
-
 
49
	}
40
 
50
	notifyTypeChange(messageType);
-
 
51
});
41
 
52
notifyTypeChange("");
-
 
53
 
42