change visual-add.phtml

This commit is contained in:
Li Jianxuan 2014-05-27 02:51:38 +00:00
parent 4120cda7aa
commit be99136c68
1 changed files with 7 additions and 1 deletions

View File

@ -40,6 +40,12 @@
</div> </div>
<script type="text/javascript"> <script type="text/javascript">
$('#addVariable').click(function(e) { $('#addVariable').click(function(e) {
html = '<div class="control-group">
<label class="control-label" for="inputVariable">可视化要素</label>
<div class="controls">
<input type="text" id="inputVariable" placeholder="Variable" class="input-block-level">
</div>
</div>';
$('#last-control-group').prepend();
}); });
</script> </script>