Skip to content
Permalink
Browse files

* ネット非接続環境でbookmarkletでの編集スタイルが壊れるので改善。

http://japan.nucleuscms.org/forum/viewtopic.php?id=6981
bookmarkletからgoogle jsapi を削除
  • Loading branch information...
piyoyo
piyoyo committed Mar 30, 2015
1 parent d5c92de commit 566ed7dfc1fbac4c0a8fe5303a2fbdd5edef82d8
Showing with 8 additions and 10 deletions.
  1. +4 −5 nucleus/libs/include/bookmarklet-add.template
  2. +4 −5 nucleus/libs/include/bookmarklet-edit.template
@@ -23,21 +23,20 @@
<script type="text/javascript" src="javascript/edit_date.js"></script>
<script type="text/javascript" src="javascript/numbercheck.js"></script>
<%ifautosave()%><script type="text/javascript" src="javascript/xmlhttprequest.js"></script><%endif%>
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript" src="javascript/jquery/jquery.min.js"></script>
<script type="text/javascript" src="javascript/jquery/ui/core_widget_tabs.min.js"></script>
<%init%>
<%extrahead%>
<script type="text/javascript">
//<![CDATA[
google.load("jquery", "1");
google.load("jqueryui", "1");
google.setOnLoadCallback(function() {
$(document).ready(function() {
$(function(){
// var IE = '\v'=='v';
updAllPreviews();
// $("table tr td:first-child").css("width", "14%");
// if (!IE)
// $("#body textarea, #more textarea").resizable({ containment: 'parent' });
$("#tabs").tabs();
$("#tabs").tabs(); /* jquery-ui */
$(".addFuture").change(function() {
$("#act_future").attr('checked', 'checked');
});
@@ -23,21 +23,20 @@
<script type="text/javascript" src="javascript/edit_date.js"></script>
<script type="text/javascript" src="javascript/numbercheck.js"></script>
<%ifautosave()%><script type="text/javascript" src="javascript/xmlhttprequest.js"></script><%endif%>
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript" src="javascript/jquery/jquery.min.js"></script>
<script type="text/javascript" src="javascript/jquery/ui/core_widget_tabs.min.js"></script>
<%init%>
<%extrahead%>
<script type="text/javascript">
//<![CDATA[
google.load("jquery", "1");
google.load("jqueryui", "1");
google.setOnLoadCallback(function() {
$(document).ready(function() {
$(function(){
// var IE = '\v'=='v';
updAllPreviews();
// $("table tr td:first-child").css("width", "14%");
// if (!IE)
// $("#body textarea, #more textarea").resizable({ containment: 'parent' });
$("#tabs").tabs();
$("#tabs").tabs(); /* jquery-ui */
$(".chgDate").change(function() {
$("#act_changedate").attr('checked', 'checked');
});

0 comments on commit 566ed7d

Please sign in to comment.
You can’t perform that action at this time.