Subversion Repositories SmartDukaan

Rev

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

Rev 28037 Rev 37005
Line 55... Line 55...
55
	      		      <button class="btn btn-primary partnerInfoReadOnly" type="button" style="width:100%; border-radius:0px;">Dashboard</button>
55
	      		      <button class="btn btn-primary partnerInfoReadOnly" type="button" style="width:100%; border-radius:0px;">Dashboard</button>
56
	      	       </div>
56
	      	       </div>
57
	      	     
57
	      	     
58
	      	     <div class="col-lg-2">
58
	      	     <div class="col-lg-2">
59
	      		<a id="mobileAppIdinfo" href="${rc.contextPath}/mobileapp" class="btn btn-default" target="_blank">Franchise App</a>
59
	      		<a id="mobileAppIdinfo" href="${rc.contextPath}/mobileapp" class="btn btn-default" target="_blank">Franchise App</a>
-
 
60
				 </div>
-
 
61
					<div class="col-lg-2">
-
 
62
						<a href="${rc.contextPath}/mobileapp" data-app="react" class="btn btn-default open-app"
-
 
63
						   target="_blank">Franchise App V2</a>
60
	         	</div>
64
	         	</div>
61
	            </div>
65
	            </div>
62
	          </div>
66
	          </div>
63
	        </div>
67
	        </div>
64
	    </form>
68
	    </form>
Line 76... Line 80...
76
			uri.search = "emailId=" + email;
80
			uri.search = "emailId=" + email;
77
			console.log(uri)
81
			console.log(uri)
78
			$("#mobileAppIdinfo")[0].href = uri.toString();
82
			$("#mobileAppIdinfo")[0].href = uri.toString();
79
 
83
 
80
		});
84
		});
-
 
85
 
-
 
86
$(document).on('click', ".open-app", function () {
-
 
87
	var email = $('#fofo-users').find('option:selected').data('email');
-
 
88
	var uri = new URL(this.href);
-
 
89
	uri.search = "emailId=" + (email || "") + "&appType=" + ($(this).data('app') || "");
-
 
90
	this.href = uri.toString();
-
 
91
});
81
</script>
92
</script>
82
	  
93
	  
83
	   
94
	   
84
95