/**
 * Wmdbtable is the CMS javascript basic class for the Wmdbtable module
 *
 * ==Changelog==
 *
 * @since Wed Jul 16 2008
 * @author Nick van der Zwet
 **/
var Wmproductphotoalbumfitlabel = Class.create();
Wmproductphotoalbumfitlabel = Class.extend(Wmdbtable, {
	/**
	 * ajaxUpdate
	 *
	 * Marks the ajax call as done
	 *
	 * @since Fri Apr 18 2008
	 * @access public
	 * @param domnode response
	 * @response void
	 **/
	ajaxUpdate: function(response) {
		this.__parent.ajaxUpdate(response);
		document.location.reload();
	},
 
	/**
	 * showEditor
	 *
	 * Shows the editor and loads the appropriate form
	 *
	 * @since Mon May 07 2007
	 * @access public
	 * @param integer arg
	 * @return void
	 **/
	showEditor: function(arg) {
		this.itemid = arg;
		if (this.itemid) {
			this._callContentFunction("add");
		}
		Wmcms.showEditor(this.modulename + "_editor");
	}
});
