[minor] feedback link option in help module

This commit is contained in:
Rushabh Mehta 2015-07-15 15:12:48 +05:30
parent d64dde68aa
commit 0d4c5693d8

View file

@ -27,7 +27,8 @@ frappe.help.show_video = function(youtube_id, title) {
}
var dialog = frappe.msgprint('<iframe width="'+size[0]+'" height="'+size[1]+'" \
src="https://www.youtube.com/embed/'+ youtube_id +'" \
frameborder="0" allowfullscreen></iframe>', title || __("Help"));
frameborder="0" allowfullscreen></iframe>' + (frappe.help_feedback_link || ""),
title || __("Help"));
dialog.$wrapper.find(".modal-content").addClass("video-modal");
}