Indent
[mkws-moved-to-github.git] / src / mkws-team.js
index 185b1c3..0c373c0 100644 (file)
@@ -8,6 +8,9 @@
 // limitCategory(), delimitTarget(), delimitQuery(), showPage(),
 // pagerPrev(), pagerNext().
 //
+// Before the team can be used for searching and related operations,
+// its pz2 object must be created by calling team.makePz2().
+//
 mkws.makeTeam = function($, teamName) {
   var that = {};
   var m_teamName = teamName;
@@ -92,7 +95,7 @@ mkws.makeTeam = function($, teamName) {
   m_sortOrder = config.sort_default;
   m_perpage = config.perpage_default;
  
- // create a parameters array and pass it to the pz2's constructor
+  // create a parameters array and pass it to the pz2's constructor
   // then register the form submit event with the pz2.search function
   // autoInit is set to true on default
   that.makePz2 = function() {
@@ -465,6 +468,5 @@ mkws.makeTeam = function($, teamName) {
   }
 
 
-  that.makePz2();
   return that;
 };