1var LiveForms = {}; 2LiveForms.AppendViewPortClass = function (uniqueId, mobileUnder) { 3 4 var $parent = $("[uniqueid=" + uniqueId + "]").parent(); 5 var width = $parent.width(); 6 7 $parent.removeClass('viewport-sm viewport-md viewport-lg'); 8 9 if (width >= mobileUnder) 10 $parent.addClass('viewport-sm'); 11 if (width >= 922) 12 $parent.addClass('viewport-md'); 13 if (width >= 1200) 14 $parent.addClass('viewport-lg'); 15 16 $("#" + uniqueId + " ul > li.Field").each(function () { 17 var $this = $(this); 18 var elementWidth = $this.width(); 19 $this.removeClass('mobile-under'); 20 21 if (elementWidth <= mobileUnder) 22 $this.addClass('mobile-under'); 23 24 }); 25}; 26LiveForms.SendDraftSubmission = function (ModuleId, link) { 27 var api = eval("LiveFormWebapi" + ModuleId); 28 var EmailID = $('#tbUserEmailAddress').val(); 29 api.webApi.get('views/SendSaveAndResumeLink', 'SendTo=' + EmailID + '&link=' + link).success(function (data) { 30 if (data != '' && data == 'Success') { 31 $('.SendResumeSubmission .ResponseMsg').removeClass('error').addClass('success').html('The email has been sent to <strong> ' + EmailID + '</strong>'); 32 } 33 else 34 $('.SendResumeSubmission .ResponseMsg').removeClass('success').addClass('error').html('Please check your Mail Id'); 35 }); 36};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.