我的也是 1.2*版 沒有 htmlarea-plog-resource.js
請問要找哪一個檔案呢?
(有lifetypeeditor.js 但是不知動哪裡)
/**
* special button that only adds an resource
*
* @param id
* @param display
* @param icon
*/
Lifetype.UI.Editor.Button.Resource = function(id, display, icon)
{
//
// strange javascript thingies used for object inheritance...
//
this.prototype = new Lifetype.UI.Editor.Button(id, display, '', '', icon, -1 );
this.prototype.constructor = Lifetype.UI.Editor.Button;
this.superclass = Lifetype.UI.Editor.Button;
this.superclass(id, display, '', '', icon, -1 );
/**
* reimplemented from edButton so that we can ask for an image url and a description
*
* @param txtId
*/
this.execute = function( txtId, param )
{
if ( txtId == 'postText' )
resource_list_window(1);
else
resource_list_window(2);
return '';
}
}