[Freeipa-devel] [PATCH] placeholder function

Adam Young ayoung at redhat.com
Sat Jan 29 19:28:43 UTC 2011


Pushed under the one line rule.



commit e633dd81ddd3153b7481455f215d91772ff5b34b
Author: Adam Young <ayoung at redhat.com>
Date:   Sat Jan 29 14:24:00 2011 -0500

     placeholder  function

     ipa_target_section does not overload is_dirty, and it alwayrs 
returns true, meaning you can never leave the page once you visit it.

     THis commit pushes a simple placeholder function that always 
returns fales.  Follow on work will be required to correctly inplement 
the is_dirty functonality

diff --git a/install/ui/aci.js b/install/ui/aci.js
index 6f3d218..959636b 100644
--- a/install/ui/aci.js
+++ b/install/ui/aci.js
@@ -602,6 +602,8 @@ IPA.target_section = function () {
              record.filter = filter;
          }
      };
+    that.is_dirty = function (){ return false; }
+
      return that;
  };




More information about the Freeipa-devel mailing list