チェンジセット 3733
- コミット日時:
- 2010/04/10 00:51:02 (3 年前)
- ファイル:
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
as3/gunyarapaint/branches/gunyarapaint/compat/html-template/index.template.html
r3732 r3733 4 4 <meta http-equiv="Content-Script-Type" content="text/javascript" /> 5 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <meta name="robots" content="noindex,nofollow,noarchive" /> 6 7 <title>${title}</title> 7 8 <style> … … 17 18 if (query) { 18 19 var pairs = query.split(/[&;]/); 19 for (var i in pairs) { 20 var length = pairs.length; 21 for (var i = 0; i < length; i++) { 20 22 var pair = pairs[i].split('='); 21 23 vars[pair[0]] = pair[1]; … … 43 45 ); 44 46 } 47 var callBeforeUnload = true; 45 48 function onBeforeUnload(event) { 46 if (!event) 47 window.event; 48 event.returnValue = "ぐにゃらペイントを終了しようとしています"; 49 if (callBeforeUnload) { 50 event = event || window.event; 51 return event.returnValue = "ぐにゃらペイントを終了しようとしています。閉じると描いた絵が全て消えてしまいます。"; 52 } 49 53 } 50 function changeAlertOnUnload(bool) { 54 function changeAlertOnUnload(value) { 55 callBeforeUnload = value; 51 56 } 52 57 //-->

