Browse Source

fix bug

pull/4/merge 0.9.8
xiaoz 4 years ago
parent
commit
6751a99153
  1. 4
      templates/default/static/embed.js

4
templates/default/static/embed.js

@ -113,12 +113,12 @@ function admin_menu() {
"qrcode": {name: "二维码", icon:"fa-qrcode",callback:function(data,status){ "qrcode": {name: "二维码", icon:"fa-qrcode",callback:function(data,status){
var link_title = $(this).attr('link-title'); var link_title = $(this).attr('link-title');
link_title = link_title.substr(0,8); //link_title = link_title.substr(0,8);
// link_title = link_title + '...'; // link_title = link_title + '...';
var link_id = $(this).attr('id'); var link_id = $(this).attr('id');
link_id = link_id.replace('id_',''); link_id = link_id.replace('id_','');
var domain = get_domain(); var domain = get_domain();
var url = domain + '/index.php?c=click&id=' + link_id; var url = domain + '/click/' + link_id;
mdui.dialog({ mdui.dialog({
'title':link_title, 'title':link_title,
'cssClass':'show_qrcode', 'cssClass':'show_qrcode',

Loading…
Cancel
Save