Ignore:
Timestamp:
2011/01/14 17:25:59 (11 years ago)
Author:
nanasess
bzr:base-revision:
svn-v4:1e3b908f-19a9-db11-a64c-001125224ba8:branches/version-2_5-dev:19913
bzr:committer:
Kentaro Ohkouchi <ohkouchi@loop-az.jp>
bzr:file-ids:

data/Smarty/templates/admin/contents/csv_sql.tpl 15732@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2FSmarty%2Ftemplates%2Fdefault%2Fadmin%2Fcontents%2Fcsv_sql.tpl
data/Smarty/templates/admin/design/bloc.tpl 15732@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2FSmarty%2Ftemplates%2Fdefault%2Fadmin%2Fdesign%2Fbloc.tpl
data/Smarty/templates/admin/design/css.tpl 15732@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2FSmarty%2Ftemplates%2Fdefault%2Fadmin%2Fdesign%2Fcss.tpl
data/Smarty/templates/admin/design/header.tpl 15732@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2FSmarty%2Ftemplates%2Fdefault%2Fadmin%2Fdesign%2Fheader.tpl
data/Smarty/templates/admin/design/main_edit.tpl 15732@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2FSmarty%2Ftemplates%2Fdefault%2Fadmin%2Fdesign%2Fmain_edit.tpl
data/install.php 15078@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Finstall.php
html/js/site.js site.js-20101208110316-7ungq6kj49bhw4d1-7
bzr:mapping-version:
v4
bzr:merge:

ohkouchi@loop-az.jp-20110114082030-q8bpf5ljgcf7k9vc
bzr:repository-uuid:
1e3b908f-19a9-db11-a64c-001125224ba8
bzr:revision-id:
ohkouchi@loop-az.jp-20110114082556-4m3xuh0c4yiq6gip
bzr:revno:
2643
bzr:revprop:branch-nick:
branches/version-2_5-dev
bzr:root:
branches/version-2_5-dev
bzr:text-revisions:

data/Smarty/templates/admin/contents/csv_sql.tpl ohkouchi@loop-az.jp-20110114082030-q8bpf5ljgcf7k9vc
data/Smarty/templates/admin/design/bloc.tpl ohkouchi@loop-az.jp-20110114082030-q8bpf5ljgcf7k9vc
data/Smarty/templates/admin/design/css.tpl ohkouchi@loop-az.jp-20110114082030-q8bpf5ljgcf7k9vc
data/Smarty/templates/admin/design/header.tpl ohkouchi@loop-az.jp-20110114082030-q8bpf5ljgcf7k9vc
data/Smarty/templates/admin/design/main_edit.tpl ohkouchi@loop-az.jp-20110114082030-q8bpf5ljgcf7k9vc
bzr:timestamp:
2011-01-14 17:25:56.982000113 +0900
bzr:user-agent:
bzr2.2.1+bzr-svn1.0.4
svn:original-date:
2011-01-14T08:25:56.982000Z
Message:

#382(管理画面XHTMLに変更)

  • 拡大/縮小ボタンが動作しなくなっていたのを修正
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/html/js/site.js

    r19860 r19914  
    360360 
    361361// テキストエリアのサイズを変更する. 
    362 function ChangeSize(button, TextArea, Max, Min, row_tmp){ 
    363  
    364     if(TextArea.rows <= Min){ 
    365         TextArea.rows=Max; button.value="縮小"; row_tmp.value=Max; button.innerHTML="縮小"; 
    366     }else{ 
    367         TextArea.rows =Min; button.value="拡大"; row_tmp.value=Min; button.innerHTML="拡大"; 
    368     } 
    369 } 
     362function ChangeSize(buttonSelector, textAreaSelector, max, min) { 
     363 
     364    if ($(textAreaSelector).attr('rows') <= min) { 
     365        $(textAreaSelector).attr('rows', max); 
     366        $(buttonSelector).text('縮小'); 
     367    } else { 
     368        $(textAreaSelector).attr('rows', min); 
     369        $(buttonSelector).text('拡大'); 
     370    } 
     371} 
Note: See TracChangeset for help on using the changeset viewer.