mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-29 08:09:58 +09:00
issue 910: Hide material writer if the material module isn't exists
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9920 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
58315df742
commit
77d1efccba
2 changed files with 3 additions and 3 deletions
|
|
@ -1238,7 +1238,7 @@ var ImageWriter = xe.createPlugin('ImageWriter', {
|
|||
var callback_id = ''+(new Date).getTime()+Math.ceil(Math.random()*1000);
|
||||
window[callback_id] = function(fileObj){ self.onfileuploaded(seq, callback_id, fileObj); }
|
||||
|
||||
var filesrl = _image.attr('class').match(/(?:^|\s)xe_filesrl_(\d+)(?:\s|$)/);
|
||||
var filesrl = (_image.attr('class')||'').match(/(?:^|\s)xe_filesrl_(\d+)(?:\s|$)/);
|
||||
filesrl = (filesrl && filesrl[1])? filesrl[1] : '';
|
||||
|
||||
// upload file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue