﻿/* ********************************************************** */
/* KeanePostbackManagerPrototype declaration                  */        
/* ********************************************************** */
var KeanePostbackManagerPrototype = function(spec) {
    // Private properties/methods.
    var     
        that = {},
        constants = spec.constants;
                       
    // Executes a server postback for the passed command.
    var executeCommandPostback = function(command)
    {
        if (command) {
            // TODO put command info into cache so that it is accessible on server side
            _postbackManager.DoClick();
        }
    };

    // Public properties/methods.
    that.executeCommandPostback = executeCommandPostback;
    
    // Return constructed object.
    return that;
}