aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/admin_site.tpl2
-rw-r--r--view/tpl/notes.tpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/admin_site.tpl b/view/tpl/admin_site.tpl
index 22cefdea4..c6c15cec4 100755
--- a/view/tpl/admin_site.tpl
+++ b/view/tpl/admin_site.tpl
@@ -66,7 +66,7 @@
<h3>{{$corporate}}</h3>
{{include file="field_checkbox.tpl" field=$block_public}}
{{include file="field_checkbox.tpl" field=$force_publish}}
- {{include file="field_checkbox.tpl" field=$discover_tab}}
+ {{include file="field_checkbox.tpl" field=$disable_discover_tab}}
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
diff --git a/view/tpl/notes.tpl b/view/tpl/notes.tpl
index 09932e545..b67f66f5b 100644
--- a/view/tpl/notes.tpl
+++ b/view/tpl/notes.tpl
@@ -1,6 +1,6 @@
<div class="widget">
<script>
-$("#note-text").live('input paste',function(e){
+$(document).on('focusout',"#note-text",function(e){
$.post('notes', { 'note_text' : $('#note-text').val() });
});
</script>