This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 191587 - formatting of function when declared as a property
Summary: formatting of function when declared as a property
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.0
Hardware: PC Mac OS X
: P3 normal with 1 vote (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-03 00:59 UTC by Filip Zamboj
Modified: 2011-10-06 14:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Zamboj 2010-11-03 00:59:28 UTC
notice function formatting. last bracket and alert() are in wrong place

<script>
            $(document).ready(function() {	
$('#file_upload').uploadify({
                    'uploader'  : '/psn/public/js/uploadify/uploadify.swf',
                    'script'    : '/psn/public/js/uploadify/uploadify.php',
                    'cancelImg' : '/psn/public/js/uploadify/cancel.png',
                    'folder'    : '/psn/public/images',
                    'multi'     : true,
                    'auto'      : false,
                    'displayData' : 'percentage',
                    'buttonText'    : 'Vybrat soubory',
                    'onComplete'    : 
                        function(event, ID, fileObj, response, data) {
                        alert('');
                    }
                    
                    
                });
});
Comment 1 Petr Pisl 2011-10-06 14:05:14 UTC
Yes, the formatter doesn't work properly.