* default block name when add block.

This commit is contained in:
wangyidong
2016-05-11 09:26:03 +08:00
parent ae532c0134
commit df55e68c97
4 changed files with 10 additions and 2 deletions
+7
View File
@@ -38,3 +38,10 @@ if($type == 'html')
<tfoot><tr><td colspan='2' class='text-center'><?php echo html::submitButton()?></td></tr></tfoot>
</table>
</form>
<script>
$(function()
{
options = $('#modules').find("option").text();
if($('#title').val() == '') $('#title').val($('#modules').find("option:selected").text());
})
</script>