Template:CheckListHeader

    Table of contents
    No headers
    DekiApi();
    
    <html>
        <tail>
            <script type="text/jem">"
                $('.checklistitem').bind('click', function() {
                    var name = this.name;
                    MindTouch.Deki.CreateProperty(Deki.Env.PageApi + '/properties?abort=never', 'urn:custom.mindtouch.com#' + name, '' + this.checked, function() {
    
                        // find out why this is not working
                        MindTouch.Deki.Reload('#' + name);
                    }, function(result) {
                        alert('An error occurred trying to update check-list item (status: ' + result.status + ' - ' + result.text + ')');
                    });
                });
            "</script>
        </tail>
    </html>
    
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by