This is a migrated thread and some comments may be shown as answers.

Offline Web App - contentUrl

1 Answer 98 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Kyle
Top achievements
Rank 1
Kyle asked on 29 May 2012, 11:33 PM

I currently have a 2 pane splitter ... the second pane has a relative reference to an html snippet for the contents of the 2nd pane.

$("#splitter").kendoSplitter({
                panes: [
                    { collapsible: true, resizable: false, size: "300px" },
                    { collapsible: false, resiable: false, contentUrl: "content.htm" }

I am attempting to create a single page offline web application ... I've added an offline.manifest to the project and confirmed all the resources listed download successfully (using Chrome v19).

The initial rendering of default.htm succeeds; however, subsequent refreshes of default.htm hang on the xhr get of content.htm.

At this point I've kept everything connected and it appears the mere presence of item(s) (either default.htm or content.htm in the app cache) is fouling up the xhr get.

I've attached the necessary collateral for a repro ... any help is greatly appreciated as we are simply trying to figure out how to best structure our markup, etc. to support this particular application using Kendo.

1 Answer, 1 is accepted

Sort by
0
Kyle
Top achievements
Rank 1
answered on 30 May 2012, 10:25 PM
A quick followup ... the root issue has nothing to do with Kendo UI components or the way the ajax call is fired; however, in my case it was related to how the relative paths worked out between the .manifest file and the content (.htm) files.

I've attached two examples ... one working, one broken that illustrates the difference.
Tags
Splitter
Asked by
Kyle
Top achievements
Rank 1
Answers by
Kyle
Top achievements
Rank 1
Share this question
or