Any suggestions on this.??--On Tue, Aug 7, 2018 at 6:53 PM, developer_52 <fat...@walkover.in> wrote:I have to compare two tabs and I have used mergely for comparing.--The issue I am getting is, I have data in my object but as soon as I click compare button, mergely frame opens up with no data but if I resize the screen by clicking the inspect element the data gets loaded.Not able to understand the issue.Attaching the screenshot and code for refernece.Code:var lhs_idx = '';var rhs_idx = '';function lhsChange(idx) {lhs_idx = idx;$('#mergely').mergely('lhs', JSON.stringify(invocations[idx], removeHiddenFields, 4));$('.enabling').attr('disabled', false);$('#lhs_' + idx).prop('checked', true);compare_idx();}function rhsChange(idx) {rhs_idx = idx;$('#mergely').mergely('rhs', JSON.stringify(invocations[idx], removeHiddenFields, 4));$('.enabling').attr('disabled', false);$('#rhs_' + idx).prop('checked', true);compare_idx();}function compare_idx() {$('#rhs_' + lhs_idx).attr('disabled', true);$('#lhs_' + rhs_idx).attr('disabled', true);}function initMergely() {console.log("Hiiiiiii in initmergely", $('#mergely'))$('#mergely').mergely();lhsChange(0);rhsChange(1);}$(document).on('turbolinks:load', function () {console.log(invocations.length)console.log("Innn load call")initMergely();});
You received this message because you are subscribed to the Google Groups "Mergely" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mergely+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Mergely" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mergely+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.