Only loads quill on Notes Add & Edit

这个提交包含在:
Peter Goodhall 2019-10-05 22:14:52 +01:00
父节点 214c718032
当前提交 14d0dd94ef
共有 2 个文件被更改,包括 2 次插入2 次删除

查看文件

@ -9,7 +9,7 @@
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/leaflet/leaflet.js"></script>
<script type="text/javascript" src="<?php echo base_url() ;?>assets/js/radiohelpers.js"></script>
<?php if ($this->uri->segment(1) == "notes") { ?>
<?php if ($this->uri->segment(1) == "notes" && ($this->uri->segment(2) == "add" || $this->uri->segment(2) == "edit") ) { ?>
<script src="<?php echo base_url() ;?>assets/plugins/quill/quill.min.js"></script>
<script>

查看文件

@ -20,7 +20,7 @@
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/css/query-builder.default.min.css" />
<?php } ?>
<?php if ($this->uri->segment(1) == "notes") { ?>
<?php if ($this->uri->segment(1) == "notes" && ($this->uri->segment(2) == "add" || $this->uri->segment(2) == "edit") ) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/plugins/quill/quill.snow.css" />
<?php } ?>