内容可在任何浏览器中查看,Chrome除外

时间:2015-11-12 12:24:17

标签: javascript html angularjs

当我在Chrome浏览器中查看页面内容时,我无法看到内容,但在任何其他浏览器上我都可以查看内容。我附上了页面html内容以防它可能有用:

<div class="container">
    <div class="heading">
    Programme Template - {{programmeTemplateCntlr.programmeTemplate.name}}
    <hr/>
</div>
<div data-ng-repeat="runDay in programmeTemplateCntlr.programmeTemplate.selectedRunDays">
    <div class="heading">{{runDay}}</div>
    <table class="table table-bordered table-hover">
        <thead>
            <tr>
                <th data-field="id"><font size="3">Slot Name</font></th>
                <th data-field="name"><font size="3">Start Time</font></th>
                <th data-field="price"><font size="3">End Time</font></th>
                <th data-field="price"><font size="3">Manage Slots</font></th>
            </tr>
        </thead>
        <tbody>
            <tr id="tr_id_1" class="tr-class-1" data-ng-repeat="slot in programmeTemplateCntlr.fetchSlotsForDay(runDay)">
                <td id="td_id_1" class="td-class-1">{{slot.name}}</td>
                <td>{{slot.startTime}}</td>
                <td>{{slot.endTime}}</td>
                <td ng-if-end>
                    <div ng-switch on="{{slot.id}}">
                        <div ng-switch-when="0">
                            <div>
                                <a href="#/programmeTemplate/{{programmeTemplateCntlr.programmeTemplate.id}}/addSlotTemplate?startTime={{slot.startTime}}&endTime={{slot.endTime}}">
                                    <button class="btn button-details col-sm-4" type="button">
                                        Add Slot
                                    </button>
                                </a>
                            </div>
                        </div>
                        <div ng-switch-default>     
                            <div>                                               
                                <a class="btn btn-edit" href="#/programmeTemplate/{{programmeTemplateCntlr.programmeTemplate.id}}/editSlotTemplate/{{slot.id}}">Edit</a> 
                                <a class="btn button-details" href="" data-ng-click="programmeTemplateCntlr.fetchSlotTemplateById(slot.id)">Details</a>                     
                            </div>
                        </div>
                    </div>
                </td>
            </tr>
        </tbody>
    </table>
    <hr/>
    <br/>
</div>
<div data-ng-include="programmeTemplateCntlr.slotTemplateModalURL"></div>
<div class="row">

    <div class="col-md-3">
        <a href="#/viewProgrammes"><button class="btn button-details btn-block" type="submit">Done</button></a>
    </div>
</div>

0 个答案:

没有答案