Merge pull request #1851 from paymand/android_tag_name

el.tag_name on Android should return element's className.
This commit is contained in:
bootstraponline
2014-02-03 07:07:56 -08:00
+2 -1
View File
@@ -131,7 +131,8 @@ androidController.submit = function (elementId, cb) {
};
androidController.getName = function (elementId, cb) {
this.proxy(["element:getName", {elementId: elementId}], cb);
var p = {elementId: elementId, attribute: "className"};
this.proxy(["element:getAttribute", p], cb);
};
androidController.getText = function (elementId, cb) {