ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 6432


Ignore:
Timestamp:
Apr 8, 2008, 9:47:08 PM (12 years ago)
Author:
ebihara
Message:

#333:IEでテキストモード時のカラーピッカーが表示されなかったのを修正

Location:
OpenPNE/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/public_html/js/pne.js

    r6413 r6432  
    8888    var button_container = document.getElementById("mce_editor_buttonmenu");
    8989
    90     var table = document.createElement("table");
    91     table.id = "mce_editor_color_table";
    92     table.style.width = "150px";
    93     table.style.position = "absolute";
    94     table.style.left = (x + table.style.width) + "px";
    95     table.style.zIndex = 150;
    96     table.style.padding = "5px";
    97     table.style.border = "1px solid gray";
    98     table.style.backgroundColor = "#fff";
     90    var tbody = document.createElement("tbody");
    9991
    10092    var tr;
     
    10597        if (i == 0 || i % settings.grid_width == 0) {
    10698            tr = document.createElement("tr");
    107             table.appendChild(tr);
     99            tbody.appendChild(tr);
    108100        }
    109101
     
    129121    }
    130122
     123    var table = document.createElement("table");
     124    table.id = "mce_editor_color_table";
     125    table.style.width = "150px";
     126    table.style.position = "absolute";
     127    table.style.left = x + 150 + "px";
     128    table.style.zIndex = 150;
     129    table.style.padding = "5px";
     130    table.style.border = "1px solid gray";
     131    table.style.backgroundColor = "#fff";
     132    table.appendChild(tbody);
     133
    131134    button_container.appendChild(table);
    132135}
  • OpenPNE/trunk/webapp/modules/pc/templates/h_diary_edit.tpl

    r6402 r6432  
    9898({foreach from=$INC_HEADER_decoration_config item=item key=key})
    9999({if item})
    100 <a href="#" onclick="pne_mce_insert_tagname('mce_editor_textarea', '({$key|replace:"_":":"})');"><img src="({t_img_url_skin filename=deco_`$key`})" alt="" /></a>&nbsp;
     100<a id="mce_textmode_button_({$key})" href="#" onclick="pne_mce_insert_tagname('mce_editor_textarea', '({$key|replace:"_":":"})');"><img src="({t_img_url_skin filename=deco_`$key`})" alt="" /></a>&nbsp;
    101101({/if})
    102102({/foreach})
Note: See TracChangeset for help on using the changeset viewer.