Skip to content

Commit

Permalink
Merge pull request thinkgem#260 from heimasi/master
Browse files Browse the repository at this point in the history
图标选择bug
  • Loading branch information
think-gem committed Mar 23, 2016
2 parents 11441ba + be7fd59 commit 631afc5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/webapp/WEB-INF/tags/sys/iconselect.tag
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
buttons:{"确定":"ok", "清除":"clear", "关闭":true}, submit:function(v, h, f){
if (v=="ok"){
var icon = h.find("iframe")[0].contentWindow.$("#icon").val();
icon = $.trim(icon).substr(5);
$("#${id}Icon").attr("class", "icon-"+icon);
$("#${id}IconLabel").text(icon);
$("#${id}").val(icon);
Expand All @@ -24,4 +25,4 @@
}
});
});
</script>
</script>

0 comments on commit 631afc5

Please sign in to comment.