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 204975 - Not proper indentation of javascript for tpl file.
Summary: Not proper indentation of javascript for tpl file.
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.1
Hardware: PC Windows XP
: P4 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-11 09:02 UTC by alaksundar
Modified: 2012-09-04 07:11 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 alaksundar 2011-11-11 09:02:38 UTC
The javascript portion not formating properly through source->format option.
as for example gieven bellow.

<script type="text/javascript">
            function print_onclick() {
            document.form1.target = 'print_view';
            document.form1.action = 'kra_print.php';
            document.form1.submit();
            self.frames["print_view"].focus();
        }
        function pdf_onclick() {
        document.form1.target = 'downframe';
        document.form1.action = 'kra_pdf.php';
        document.form1.submit();
    }
    function do_submit() {
    document.form1.target = 'downframe';
    document.form1.action = 'view_appraisee.php';
    document.form1.submit();
}
        </script>
Comment 1 Petr Hejl 2012-09-04 07:11:48 UTC
Fixed for 7.3.