Bug with view signature settings.

This commit is contained in:
Julia Radzhabova 2017-10-23 10:26:38 +03:00
parent f49404e8b5
commit efa385f924
3 changed files with 8 additions and 5 deletions

View file

@ -132,6 +132,9 @@ define([
this.cntRequestedSign = $('#signature-requested-sign');
this.cntValidSign = $('#signature-valid-sign');
this.cntInvalidSign = $('#signature-invalid-sign');
this.$el.on('click', '.signature-sign-link', _.bind(this.onSign, this));
this.$el.on('click', '.signature-view-link', _.bind(this.onViewSignature, this));
},
setApi: function(api) {
@ -200,8 +203,6 @@ define([
this.$linksSign = $('.signature-sign-link', this.$el);
this.$linksView = $('.signature-view-link', this.$el);
this.$el.on('click', '.signature-sign-link', _.bind(this.onSign, this));
this.$el.on('click', '.signature-view-link', _.bind(this.onViewSignature, this));
},
addVisibleSign: function(btn) {

View file

@ -109,6 +109,8 @@ define([
this.cntValidSign = $('#signature-valid-sign');
this.cntInvalidSign = $('#signature-invalid-sign');
this.$el.on('click', '.signature-view-link', _.bind(this.onViewSignature, this));
},
setApi: function(api) {
@ -170,7 +172,6 @@ define([
// this.cntInvalidSign.html(this.templateValid({signatures: [{name: 'Mary White', guid: '111', date: '18/05/2017'}, {name: 'John Black', guid: '456', date: '18/05/2017'}], header: this.strInvalid}));
this.$linksView = $('.signature-view-link', this.$el);
this.$el.on('click', '.signature-view-link', _.bind(this.onViewSignature, this));
},
addInvisibleSign: function(btn) {

View file

@ -132,6 +132,9 @@ define([
this.cntRequestedSign = $('#signature-requested-sign');
this.cntValidSign = $('#signature-valid-sign');
this.cntInvalidSign = $('#signature-invalid-sign');
this.$el.on('click', '.signature-sign-link', _.bind(this.onSign, this));
this.$el.on('click', '.signature-view-link', _.bind(this.onViewSignature, this));
},
setApi: function(api) {
@ -200,8 +203,6 @@ define([
this.$linksSign = $('.signature-sign-link', this.$el);
this.$linksView = $('.signature-view-link', this.$el);
this.$el.on('click', '.signature-sign-link', _.bind(this.onSign, this));
this.$el.on('click', '.signature-view-link', _.bind(this.onViewSignature, this));
},
addVisibleSign: function(btn) {